#1F4473#1F4473

#1F4473 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.5% C 0.091 H 255.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1F4473
RGBrgb(31, 68, 115)
HSLhsl(214, 58%, 29%)
HSVhsv(214, 73%, 45%)
CMYKcmyk(73%, 40.9%, 0%, 54.9%)
CIE-LABlab(28.55, 4.00, -30.91)
CIE-LCHlch(28.55, 31.17, 277.37°)
OKLaboklab(38.49% -0.0227 -0.0881)
OKLCHoklch(38.49% 0.091 255.6)
XYZxyz(5.7256, 5.6628, 17.0076)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4473 #734E1F
analogous
#1F6E73 #1F4473 #241F73
triadic
#1F4473 #731F44 #44731F
tetradic
#1F4473 #731F6E #734E1F #1F7324
square
#1F4473 #731F6E #734E1F #1F7324
split-complementary
#1F4473 #73241F #6E731F
monochromatic
#060E18 #122743 #1F4473 #2C61A3 #417ECC

Accessibility & contrast

On white

9.85
#1F4473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1F4473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4473
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4473#FFFFFF#000000##FFFFFF
##1F44731.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4875
Deuteranopia (green-blind)
#224072
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f4473;
/* rgb */ color: rgb(31, 68, 115);
/* oklch */ color: oklch(38.5% 0.091 255.6);
Tailwind
colors: {
  custom: {
    50: '#66779b',
    500: '#1f4473',
    950: '#000000',
  },
}
SCSS
$custom: #1f4473;
$custom-light: #66779b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4473",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 115
  },
  "hsl": {
    "h": 213.571,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38491,
    "c": 0.09093,
    "h": 255.6
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#1F4473
secondary
#A77D47
accent
#9D47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F4473

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

Preview Lab → · Contrast checker → · Palette generator →

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