#1F437C#1F437C

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

Color values

HEX#1F437C
RGBrgb(31, 67, 124)
HSLhsl(217, 60%, 30%)
HSVhsv(217, 75%, 49%)
CMYKcmyk(75%, 46%, 0%, 51.4%)
CIE-LABlab(28.80, 8.27, -36.16)
CIE-LCHlch(28.80, 37.10, 282.88°)
OKLaboklab(38.87% -0.0196 -0.1035)
OKLCHoklch(38.87% 0.105 259.3)
XYZxyz(6.2090, 5.7602, 19.8495)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F437C #7C581F
analogous
#1F717C #1F437C #291F7C
triadic
#1F437C #7C1F43 #437C1F
tetradic
#1F437C #7C1F71 #7C581F #1F7C29
square
#1F437C #7C1F71 #7C581F #1F7C29
split-complementary
#1F437C #7C291F #717C1F
monochromatic
#070E1A #13294B #1F437C #2B5DAD #457BD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F437C#FFFFFF#000000##FFFFFF
##1F437C1.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)
#27487E
Deuteranopia (green-blind)
#15407B
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f437c;
/* rgb */ color: rgb(31, 67, 124);
/* oklch */ color: oklch(38.9% 0.105 259.3);
Tailwind
colors: {
  custom: {
    50: '#6876a2',
    500: '#1f437c',
    950: '#000000',
  },
}
SCSS
$custom: #1f437c;
$custom-light: #6876a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f437c",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 124
  },
  "hsl": {
    "h": 216.774,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38872,
    "c": 0.10535,
    "h": 259.3
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#1F437C
secondary
#AF8748
accent
#A645E3
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F437C

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

Preview Lab → · Contrast checker → · Palette generator →

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