#1B437D#1B437D

#1B437D is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.108 H 258.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1B437D
RGBrgb(27, 67, 125)
HSLhsl(216, 64%, 30%)
HSVhsv(216, 78%, 49%)
CMYKcmyk(78.4%, 46.4%, 0%, 51%)
CIE-LABlab(28.71, 8.10, -36.93)
CIE-LCHlch(28.71, 37.81, 282.37°)
OKLaboklab(38.78% -0.0224 -0.1058)
OKLCHoklch(38.78% 0.108 258.1)
XYZxyz(6.1595, 5.7273, 20.1789)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B437D #7D551B
analogous
#1B747D #1B437D #241B7D
triadic
#1B437D #7D1B43 #437D1B
tetradic
#1B437D #7D1B74 #7D551B #1B7D24
square
#1B437D #7D1B74 #7D551B #1B7D24
split-complementary
#1B437D #7D241B #747D1B
monochromatic
#050D19 #10284B #1B437D #265EAF #3D7BD5

Accessibility & contrast

On white

9.79
#1B437D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1B437D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B437D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B437D#FFFFFF#000000##FFFFFF
##1B437D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25497F
Deuteranopia (green-blind)
#11407C
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b437d;
/* rgb */ color: rgb(27, 67, 125);
/* oklch */ color: oklch(38.8% 0.108 258.1);
Tailwind
colors: {
  custom: {
    50: '#6776a3',
    500: '#1b437d',
    950: '#000000',
  },
}
SCSS
$custom: #1b437d;
$custom-light: #6776a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b437d",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 125
  },
  "hsl": {
    "h": 215.51,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38785,
    "c": 0.10818,
    "h": 258.1
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#1B437D
secondary
#B18443
accent
#A340E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B437D

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

Preview Lab → · Contrast checker → · Palette generator →

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