#1F437F#1F437F

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

Color values

HEX#1F437F
RGBrgb(31, 67, 127)
HSLhsl(218, 61%, 31%)
HSVhsv(218, 76%, 50%)
CMYKcmyk(75.6%, 47.2%, 0%, 50.2%)
CIE-LABlab(29.00, 9.48, -37.72)
CIE-LCHlch(29.00, 38.89, 284.10°)
OKLaboklab(39.09% -0.019 -0.1081)
OKLCHoklch(39.09% 0.11 260)
XYZxyz(6.4016, 5.8372, 20.8639)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F437F #7F5B1F
analogous
#1F737F #1F437F #2B1F7F
triadic
#1F437F #7F1F43 #437F1F
tetradic
#1F437F #7F1F73 #7F5B1F #1F7F2B
square
#1F437F #7F1F73 #7F5B1F #1F7F2B
split-complementary
#1F437F #7F2B1F #737F1F
monochromatic
#070F1D #13294E #1F437F #2B5DB0 #467BD2

Accessibility & contrast

On white

9.69
#1F437F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1F437F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F437F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F437F#FFFFFF#000000##FFFFFF
##1F437F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f437f;
/* rgb */ color: rgb(31, 67, 127);
/* oklch */ color: oklch(39.1% 0.110 260.0);
Tailwind
colors: {
  custom: {
    50: '#6976a4',
    500: '#1f437f',
    950: '#000000',
  },
}
SCSS
$custom: #1f437f;
$custom-light: #6976a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f437f",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 217.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39089,
    "c": 0.10975,
    "h": 260
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#1F437F
secondary
#B28A48
accent
#A844E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F437F

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

Preview Lab → · Contrast checker → · Palette generator →

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