#1B437B#1B437B

#1B437B is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.6% C 0.105 H 257.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#1B437B
RGBrgb(27, 67, 123)
HSLhsl(215, 64%, 29%)
HSVhsv(215, 78%, 48%)
CMYKcmyk(78%, 45.5%, 0%, 51.8%)
CIE-LABlab(28.58, 7.29, -35.89)
CIE-LCHlch(28.58, 36.63, 281.48°)
OKLaboklab(38.64% -0.0228 -0.1028)
OKLCHoklch(38.64% 0.105 257.5)
XYZxyz(6.0330, 5.6767, 19.5128)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B437B #7B531B
analogous
#1B737B #1B437B #231B7B
triadic
#1B437B #7B1B43 #437B1B
tetradic
#1B437B #7B1B73 #7B531B #1B7B23
square
#1B437B #7B1B73 #7B531B #1B7B23
split-complementary
#1B437B #7B231B #737B1B
monochromatic
#060E19 #102849 #1B437B #265EAD #3C7CD4

Accessibility & contrast

On white

9.83
#1B437B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B437B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B437B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B437B#FFFFFF#000000##FFFFFF
##1B437B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#143F7A
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b437b;
/* rgb */ color: rgb(27, 67, 123);
/* oklch */ color: oklch(38.6% 0.105 257.5);
Tailwind
colors: {
  custom: {
    50: '#6676a1',
    500: '#1b437b',
    950: '#000000',
  },
}
SCSS
$custom: #1b437b;
$custom-light: #6676a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b437b",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 123
  },
  "hsl": {
    "h": 215,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3864,
    "c": 0.10527,
    "h": 257.5
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#1B437B
secondary
#AF8243
accent
#A241E7
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B437B

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

Preview Lab → · Contrast checker → · Palette generator →

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