#1B437E#1B437E

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

Color values

HEX#1B437E
RGBrgb(27, 67, 126)
HSLhsl(216, 65%, 30%)
HSVhsv(216, 79%, 49%)
CMYKcmyk(78.6%, 46.8%, 0%, 50.6%)
CIE-LABlab(28.78, 8.51, -37.45)
CIE-LCHlch(28.78, 38.41, 282.80°)
OKLaboklab(38.86% -0.0222 -0.1074)
OKLCHoklch(38.86% 0.11 258.3)
XYZxyz(6.2237, 5.7530, 20.5170)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B437E #7E561B
analogous
#1B747E #1B437E #251B7E
triadic
#1B437E #7E1B43 #437E1B
tetradic
#1B437E #7E1B74 #7E561B #1B7E25
square
#1B437E #7E1B74 #7E561B #1B7E25
split-complementary
#1B437E #7E251B #747E1B
monochromatic
#050D19 #10284C #1B437E #265EB0 #3E7BD6

Accessibility & contrast

On white

9.76
#1B437E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B437E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B437E#FFFFFF#000000##FFFFFF
##1B437E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b437e;
/* rgb */ color: rgb(27, 67, 126);
/* oklch */ color: oklch(38.9% 0.110 258.3);
Tailwind
colors: {
  custom: {
    50: '#6776a4',
    500: '#1b437e',
    950: '#000000',
  },
}
SCSS
$custom: #1b437e;
$custom-light: #6776a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b437e",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 126
  },
  "hsl": {
    "h": 215.758,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.10962,
    "h": 258.3
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#1B437E
secondary
#B28543
accent
#A440E8
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B437E

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

Preview Lab → · Contrast checker → · Palette generator →

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