#1B3D71#1B3D71

#1B3D71 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.5% C 0.098 H 258.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#1B3D71
RGBrgb(27, 61, 113)
HSLhsl(216, 61%, 27%)
HSVhsv(216, 76%, 44%)
CMYKcmyk(76.1%, 46%, 0%, 55.7%)
CIE-LABlab(26.05, 7.36, -33.64)
CIE-LCHlch(26.05, 34.43, 282.34°)
OKLaboklab(36.47% -0.0191 -0.0963)
OKLCHoklch(36.47% 0.098 258.8)
XYZxyz(5.1003, 4.7622, 16.2700)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D71 #714F1B
analogous
#1B6871 #1B3D71 #241B71
triadic
#1B3D71 #711B3D #3D711B
tetradic
#1B3D71 #711B68 #714F1B #1B7124
square
#1B3D71 #711B68 #714F1B #1B7124
split-complementary
#1B3D71 #71241B #68711B
monochromatic
#060D19 #0F2240 #1B3D71 #2758A2 #3773CF

Accessibility & contrast

On white

10.75
#1B3D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1B3D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D71
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D71#FFFFFF#000000##FFFFFF
##1B3D711.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#133A70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3d71;
/* rgb */ color: rgb(27, 61, 113);
/* oklch */ color: oklch(36.5% 0.098 258.8);
Tailwind
colors: {
  custom: {
    50: '#64729a',
    500: '#1b3d71',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d71;
$custom-light: #64729a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d71",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 216.279,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.09814,
    "h": 258.8
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#1B3D71
secondary
#A67E42
accent
#A543E5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1B3D71

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

Preview Lab → · Contrast checker → · Palette generator →

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