#1F4574#1F4574

#1F4574 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.8% C 0.091 H 255.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1F4574
RGBrgb(31, 69, 116)
HSLhsl(213, 58%, 29%)
HSVhsv(213, 73%, 45%)
CMYKcmyk(73.3%, 40.5%, 0%, 54.5%)
CIE-LABlab(28.92, 3.72, -30.94)
CIE-LCHlch(28.92, 31.16, 276.85°)
OKLaboklab(38.81% -0.0235 -0.0881)
OKLCHoklch(38.81% 0.091 255.1)
XYZxyz(5.8444, 5.8079, 17.3326)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4574 #744E1F
analogous
#1F7074 #1F4574 #231F74
triadic
#1F4574 #741F45 #45741F
tetradic
#1F4574 #741F70 #744E1F #1F7423
square
#1F4574 #741F70 #744E1F #1F7423
split-complementary
#1F4574 #74231F #70741F
monochromatic
#060E18 #122844 #1F4574 #2C62A4 #417FCC

Accessibility & contrast

On white

9.71
#1F4574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1F4574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4574
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4574#FFFFFF#000000##FFFFFF
##1F45741.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4876
Deuteranopia (green-blind)
#234173
Tritanopia (blue-blind)
#005057
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4574;
/* rgb */ color: rgb(31, 69, 116);
/* oklch */ color: oklch(38.8% 0.091 255.1);
Tailwind
colors: {
  custom: {
    50: '#66789c',
    500: '#1f4574',
    950: '#000000',
  },
}
SCSS
$custom: #1f4574;
$custom-light: #66789c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4574",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 116
  },
  "hsl": {
    "h": 213.176,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.0912,
    "h": 255.1
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#1F4574
secondary
#A87D47
accent
#9C47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F4574

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

Preview Lab → · Contrast checker → · Palette generator →

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