#1B437C#1B437C

#1B437C is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.107 H 257.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1B437C
RGBrgb(27, 67, 124)
HSLhsl(215, 64%, 30%)
HSVhsv(215, 78%, 49%)
CMYKcmyk(78.2%, 46%, 0%, 51.4%)
CIE-LABlab(28.65, 7.69, -36.41)
CIE-LCHlch(28.65, 37.22, 281.93°)
OKLaboklab(38.71% -0.0226 -0.1043)
OKLCHoklch(38.71% 0.107 257.8)
XYZxyz(6.0959, 5.7019, 19.8442)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B437C #7C541B
analogous
#1B737C #1B437C #241B7C
triadic
#1B437C #7C1B43 #437C1B
tetradic
#1B437C #7C1B73 #7C541B #1B7C24
square
#1B437C #7C1B73 #7C541B #1B7C24
split-complementary
#1B437C #7C241B #737C1B
monochromatic
#050E19 #10284A #1B437C #265EAE #3D7BD5

Accessibility & contrast

On white

9.81
#1B437C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B437C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B437C#FFFFFF#000000##FFFFFF
##1B437C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487E
Deuteranopia (green-blind)
#133F7B
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b437c;
/* rgb */ color: rgb(27, 67, 124);
/* oklch */ color: oklch(38.7% 0.107 257.8);
Tailwind
colors: {
  custom: {
    50: '#6676a2',
    500: '#1b437c',
    950: '#000000',
  },
}
SCSS
$custom: #1b437c;
$custom-light: #6676a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b437c",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 124
  },
  "hsl": {
    "h": 215.258,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38712,
    "c": 0.10672,
    "h": 257.8
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#1B437C
secondary
#B08343
accent
#A341E7
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B437C

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

Preview Lab → · Contrast checker → · Palette generator →

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