#1B3E72#1B3E72

#1B3E72 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.098 H 258.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#1B3E72
RGBrgb(27, 62, 114)
HSLhsl(216, 62%, 28%)
HSVhsv(216, 76%, 45%)
CMYKcmyk(76.3%, 45.6%, 0%, 55.3%)
CIE-LABlab(26.43, 7.07, -33.66)
CIE-LCHlch(26.43, 34.40, 281.86°)
OKLaboklab(36.78% -0.0199 -0.0963)
OKLCHoklch(36.78% 0.098 258.3)
XYZxyz(5.2108, 4.8926, 16.5861)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E72 #724F1B
analogous
#1B6972 #1B3E72 #231B72
triadic
#1B3E72 #721B3E #3E721B
tetradic
#1B3E72 #721B69 #724F1B #1B7223
square
#1B3E72 #721B69 #724F1B #1B7223
split-complementary
#1B3E72 #72231B #69721B
monochromatic
#060D19 #0F2341 #1B3E72 #2759A3 #3875D0

Accessibility & contrast

On white

10.61
#1B3E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1B3E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E72
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E72#FFFFFF#000000##FFFFFF
##1B3E721.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#143B71
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3e72;
/* rgb */ color: rgb(27, 62, 114);
/* oklch */ color: oklch(36.8% 0.098 258.3);
Tailwind
colors: {
  custom: {
    50: '#64729b',
    500: '#1b3e72',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e72;
$custom-light: #64729b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e72",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 215.862,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36782,
    "c": 0.09835,
    "h": 258.3
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#1B3E72
secondary
#A77E42
accent
#A443E5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B3E72

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

Preview Lab → · Contrast checker → · Palette generator →

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