#1B2E6A#1B2E6A

#1B2E6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.108 H 266.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1B2E6A
RGBrgb(27, 46, 106)
HSLhsl(226, 59%, 26%)
HSVhsv(226, 75%, 42%)
CMYKcmyk(74.5%, 56.6%, 0%, 58.4%)
CIE-LABlab(20.93, 15.16, -37.37)
CIE-LCHlch(20.93, 40.33, 292.08°)
OKLaboklab(32.39% -0.0057 -0.1075)
OKLCHoklch(32.39% 0.108 266.9)
XYZxyz(4.0296, 3.2272, 14.0434)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E6A #6A571B
analogous
#1B556A #1B2E6A #2F1B6A
triadic
#1B2E6A #6A1B2E #2E6A1B
tetradic
#1B2E6A #6A1B55 #6A571B #1B6A2F
square
#1B2E6A #6A1B55 #6A571B #1B6A2F
split-complementary
#1B2E6A #6A2F1B #556A1B
monochromatic
#060B18 #0F1939 #1B2E6A #27439B #3458CB

Accessibility & contrast

On white

12.76
#1B2E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E6A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E6A#FFFFFF#000000##FFFFFF
##1B2E6A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03366C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2e6a;
/* rgb */ color: rgb(27, 46, 106);
/* oklch */ color: oklch(32.4% 0.108 266.9);
Tailwind
colors: {
  custom: {
    50: '#636695',
    500: '#1b2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e6a;
$custom-light: #636695;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e6a",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 225.57,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32394,
    "c": 0.10768,
    "h": 266.9
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#1B2E6A
secondary
#9F8942
accent
#BD45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1B2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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