#1F3574#1F3574

#1F3574 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.112 H 266.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#1F3574
RGBrgb(31, 53, 116)
HSLhsl(224, 58%, 29%)
HSVhsv(224, 73%, 45%)
CMYKcmyk(73.3%, 54.3%, 0%, 54.5%)
CIE-LABlab(23.99, 14.83, -38.84)
CIE-LCHlch(23.99, 41.58, 290.90°)
OKLaboklab(35.01% -0.0074 -0.1116)
OKLCHoklch(35.01% 0.112 266.2)
XYZxyz(4.9895, 4.0980, 17.0476)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3574 #745E1F
analogous
#1F6074 #1F3574 #341F74
triadic
#1F3574 #741F35 #35741F
tetradic
#1F3574 #741F60 #745E1F #1F7434
square
#1F3574 #741F60 #745E1F #1F7434
split-complementary
#1F3574 #74341F #60741F
monochromatic
#060B18 #121F44 #1F3574 #2C4BA4 #4165CC

Accessibility & contrast

On white

11.54
#1F3574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1F3574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3574
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3574#FFFFFF#000000##FFFFFF
##1F35741.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f3574;
/* rgb */ color: rgb(31, 53, 116);
/* oklch */ color: oklch(35.0% 0.112 266.2);
Tailwind
colors: {
  custom: {
    50: '#676b9c',
    500: '#1f3574',
    950: '#000000',
  },
}
SCSS
$custom: #1f3574;
$custom-light: #676b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3574",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 116
  },
  "hsl": {
    "h": 224.471,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35012,
    "c": 0.11188,
    "h": 266.2
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#1F3574
secondary
#A88F47
accent
#B947E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1F3574

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

Preview Lab → · Contrast checker → · Palette generator →

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