#1B2E8E#1B2E8E

#1B2E8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.159 H 268.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#1B2E8E
RGBrgb(27, 46, 142)
HSLhsl(230, 68%, 33%)
HSVhsv(230, 81%, 56%)
CMYKcmyk(81%, 67.6%, 0%, 44.3%)
CIE-LABlab(24.13, 29.50, -54.98)
CIE-LCHlch(24.13, 62.39, 298.21°)
OKLaboklab(35.76% -0.0055 -0.1592)
OKLCHoklch(35.76% 0.159 268)
XYZxyz(6.3098, 4.1393, 26.0523)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E8E #8E7B1B
analogous
#1B678E #1B2E8E #411B8E
triadic
#1B2E8E #8E1B2E #2E8E1B
tetradic
#1B2E8E #8E1B67 #8E7B1B #1B8E41
square
#1B2E8E #8E1B67 #8E7B1B #1B8E41
split-complementary
#1B2E8E #8E411B #678E1B
monochromatic
#070D27 #111D5B #1B2E8E #253FC1 #4760DC

Accessibility & contrast

On white

11.49
#1B2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E8E
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E8E#FFFFFF#000000##FFFFFF
##1B2E8E1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b2e8e;
/* rgb */ color: rgb(27, 46, 142);
/* oklch */ color: oklch(35.8% 0.159 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d66b0',
    500: '#1b2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e8e;
$custom-light: #6d66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e8e",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 230.087,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35758,
    "c": 0.15928,
    "h": 268
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#1B2E8E
secondary
#BEAA47
accent
#CE3DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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