#1B28A0#1B28A0

#1B28A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.189 H 268.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#1B28A0
RGBrgb(27, 40, 160)
HSLhsl(234, 71%, 37%)
HSVhsv(234, 83%, 63%)
CMYKcmyk(83.1%, 75%, 0%, 37.3%)
CIE-LABlab(24.60, 39.97, -65.26)
CIE-LCHlch(24.60, 76.52, 301.48°)
OKLaboklab(36.66% -0.0048 -0.1891)
OKLCHoklch(36.66% 0.189 268.6)
XYZxyz(7.5538, 4.2878, 33.6804)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B28A0 #A0931B
analogous
#1B6BA0 #1B28A0 #501BA0
triadic
#1B28A0 #A01B28 #28A01B
tetradic
#1B28A0 #A01B6B #A0931B #1BA050
square
#1B28A0 #A01B6B #A0931B #1BA050
split-complementary
#1B28A0 #A0501B #6BA01B
monochromatic
#090E37 #121B6C #1B28A0 #2435D4 #5361E2

Accessibility & contrast

On white

11.30
#1B28A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1B28A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B28A0
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B28A0#FFFFFF#000000##FFFFFF
##1B28A01.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b28a0;
/* rgb */ color: rgb(27, 40, 160);
/* oklch */ color: oklch(36.7% 0.189 268.6);
Tailwind
colors: {
  custom: {
    50: '#7263bd',
    500: '#1b28a0',
    950: '#000000',
  },
}
SCSS
$custom: #1b28a0;
$custom-light: #7263bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b28a0",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 234.135,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36661,
    "c": 0.18917,
    "h": 268.6
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#1B28A0
secondary
#C5BA52
accent
#DC3AEE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1B28A0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1B28A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva