#1B437F#1B437F

#1B437F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.111 H 258.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1B437F
RGBrgb(27, 67, 127)
HSLhsl(216, 65%, 30%)
HSVhsv(216, 79%, 50%)
CMYKcmyk(78.7%, 47.2%, 0%, 50.2%)
CIE-LABlab(28.85, 8.92, -37.97)
CIE-LCHlch(28.85, 39.00, 283.22°)
OKLaboklab(38.93% -0.022 -0.1089)
OKLCHoklch(38.93% 0.111 258.6)
XYZxyz(6.2885, 5.7789, 20.8586)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B437F #7F571B
analogous
#1B757F #1B437F #251B7F
triadic
#1B437F #7F1B43 #437F1B
tetradic
#1B437F #7F1B75 #7F571B #1B7F25
square
#1B437F #7F1B75 #7F571B #1B7F25
split-complementary
#1B437F #7F251B #757F1B
monochromatic
#060E1A #10284D #1B437F #265EB1 #3E7BD6

Accessibility & contrast

On white

9.74
#1B437F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1B437F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B437F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B437F#FFFFFF#000000##FFFFFF
##1B437F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#0D407E
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b437f;
/* rgb */ color: rgb(27, 67, 127);
/* oklch */ color: oklch(38.9% 0.111 258.6);
Tailwind
colors: {
  custom: {
    50: '#6776a4',
    500: '#1b437f',
    950: '#000000',
  },
}
SCSS
$custom: #1b437f;
$custom-light: #6776a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b437f",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 216,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38931,
    "c": 0.11107,
    "h": 258.6
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#1B437F
secondary
#B38643
accent
#A540E8
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B437F

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

Preview Lab → · Contrast checker → · Palette generator →

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