#1F456D#1F456D

#1F456D is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.4% C 0.081 H 251.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#1F456D
RGBrgb(31, 69, 109)
HSLhsl(211, 56%, 27%)
HSVhsv(211, 72%, 43%)
CMYKcmyk(71.6%, 36.7%, 0%, 57.3%)
CIE-LABlab(28.51, 0.96, -27.16)
CIE-LCHlch(28.51, 27.17, 272.03°)
OKLaboklab(38.35% -0.0254 -0.0771)
OKLCHoklch(38.35% 0.081 251.8)
XYZxyz(5.4525, 5.6511, 15.2685)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F456D #6D471F
analogous
#1F6C6D #1F456D #201F6D
triadic
#1F456D #6D1F45 #456D1F
tetradic
#1F456D #6D1F6C #6D471F #1F6D20
square
#1F456D #6D1F6C #6D471F #1F6D20
split-complementary
#1F456D #6D201F #6C6D1F
monochromatic
#070F18 #11273D #1F456D #2D639D #3E81C8

Accessibility & contrast

On white

9.86
#1F456D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F456D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F456D#FFFFFF#000000##FFFFFF
##1F456D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476F
Deuteranopia (green-blind)
#28406C
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f456d;
/* rgb */ color: rgb(31, 69, 109);
/* oklch */ color: oklch(38.4% 0.081 251.8);
Tailwind
colors: {
  custom: {
    50: '#657897',
    500: '#1f456d',
    950: '#000000',
  },
}
SCSS
$custom: #1f456d;
$custom-light: #657897;
$custom-dark: #000000;
JSON
{
  "hex": "#1f456d",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 109
  },
  "hsl": {
    "h": 210.769,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38353,
    "c": 0.08114,
    "h": 251.8
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#1F456D
secondary
#A17547
accent
#9649DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #1F456D

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

Preview Lab → · Contrast checker → · Palette generator →

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