#1F4573#1F4573

#1F4573 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.7% C 0.090 H 254.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1F4573
RGBrgb(31, 69, 115)
HSLhsl(213, 58%, 29%)
HSVhsv(213, 73%, 45%)
CMYKcmyk(73%, 40%, 0%, 54.9%)
CIE-LABlab(28.86, 3.32, -30.40)
CIE-LCHlch(28.86, 30.58, 276.24°)
OKLaboklab(38.74% -0.0237 -0.0866)
OKLCHoklch(38.74% 0.09 254.7)
XYZxyz(5.7866, 5.7847, 17.0279)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4573 #734D1F
analogous
#1F6F73 #1F4573 #231F73
triadic
#1F4573 #731F45 #45731F
tetradic
#1F4573 #731F6F #734D1F #1F7323
square
#1F4573 #731F6F #734D1F #1F7323
split-complementary
#1F4573 #73231F #6F731F
monochromatic
#060E18 #122843 #1F4573 #2C62A3 #4180CC

Accessibility & contrast

On white

9.74
#1F4573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4573
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4573#FFFFFF#000000##FFFFFF
##1F45731.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#234072
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4573;
/* rgb */ color: rgb(31, 69, 115);
/* oklch */ color: oklch(38.7% 0.090 254.7);
Tailwind
colors: {
  custom: {
    50: '#66789b',
    500: '#1f4573',
    950: '#000000',
  },
}
SCSS
$custom: #1f4573;
$custom-light: #66789b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4573",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 115
  },
  "hsl": {
    "h": 212.857,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38739,
    "c": 0.08975,
    "h": 254.7
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#1F4573
secondary
#A77B47
accent
#9B47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F4573

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

Preview Lab → · Contrast checker → · Palette generator →

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