#1B3F71#1B3F71

#1B3F71 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 37.0% C 0.096 H 257.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1B3F71
RGBrgb(27, 63, 113)
HSLhsl(215, 61%, 27%)
HSVhsv(215, 76%, 44%)
CMYKcmyk(76.1%, 44.2%, 0%, 55.7%)
CIE-LABlab(26.68, 5.97, -32.63)
CIE-LCHlch(26.68, 33.17, 280.37°)
OKLaboklab(36.95% -0.0211 -0.0933)
OKLCHoklch(36.95% 0.096 257.3)
XYZxyz(5.2090, 4.9797, 16.3062)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F71 #714D1B
analogous
#1B6A71 #1B3F71 #221B71
triadic
#1B3F71 #711B3F #3F711B
tetradic
#1B3F71 #711B6A #714D1B #1B7122
square
#1B3F71 #711B6A #714D1B #1B7122
split-complementary
#1B3F71 #71221B #6A711B
monochromatic
#060E19 #0F2340 #1B3F71 #275BA2 #3777CF

Accessibility & contrast

On white

10.52
#1B3F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1B3F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F71
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F71#FFFFFF#000000##FFFFFF
##1B3F711.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#183B70
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3f71;
/* rgb */ color: rgb(27, 63, 113);
/* oklch */ color: oklch(37.0% 0.096 257.3);
Tailwind
colors: {
  custom: {
    50: '#64739a',
    500: '#1b3f71',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f71;
$custom-light: #64739a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f71",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 214.884,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36954,
    "c": 0.09561,
    "h": 257.3
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#1B3F71
secondary
#A67C42
accent
#A143E5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B3F71

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

Preview Lab → · Contrast checker → · Palette generator →

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