#1B3E71#1B3E71

#1B3E71 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.7% C 0.097 H 258.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#1B3E71
RGBrgb(27, 62, 113)
HSLhsl(216, 61%, 27%)
HSVhsv(216, 76%, 44%)
CMYKcmyk(76.1%, 45.1%, 0%, 55.7%)
CIE-LABlab(26.36, 6.66, -33.13)
CIE-LCHlch(26.36, 33.80, 281.37°)
OKLaboklab(36.71% -0.0201 -0.0948)
OKLCHoklch(36.71% 0.097 258)
XYZxyz(5.1542, 4.8700, 16.2879)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E71 #714E1B
analogous
#1B6971 #1B3E71 #231B71
triadic
#1B3E71 #711B3E #3E711B
tetradic
#1B3E71 #711B69 #714E1B #1B7123
square
#1B3E71 #711B69 #714E1B #1B7123
split-complementary
#1B3E71 #71231B #69711B
monochromatic
#060E19 #0F2340 #1B3E71 #2759A2 #3775CF

Accessibility & contrast

On white

10.64
#1B3E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B3E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E71
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E71#FFFFFF#000000##FFFFFF
##1B3E711.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#163B70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3e71;
/* rgb */ color: rgb(27, 62, 113);
/* oklch */ color: oklch(36.7% 0.097 258.0);
Tailwind
colors: {
  custom: {
    50: '#64729a',
    500: '#1b3e71',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e71;
$custom-light: #64729a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e71",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 215.581,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3671,
    "c": 0.09687,
    "h": 258
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#1B3E71
secondary
#A67D42
accent
#A343E5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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