#1F456B#1F456B

#1F456B is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.2% C 0.078 H 250.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#1F456B
RGBrgb(31, 69, 107)
HSLhsl(210, 55%, 27%)
HSVhsv(210, 71%, 42%)
CMYKcmyk(71%, 35.5%, 0%, 58%)
CIE-LABlab(28.40, 0.18, -26.06)
CIE-LCHlch(28.40, 26.06, 270.40°)
OKLaboklab(38.23% -0.026 -0.0739)
OKLCHoklch(38.23% 0.078 250.6)
XYZxyz(5.3461, 5.6085, 14.7079)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F456B #6B451F
analogous
#1F6B6B #1F456B #1F1F6B
triadic
#1F456B #6B1F45 #456B1F
tetradic
#1F456B #6B1F6B #6B451F #1F6B1F
square
#1F456B #6B1F6B #6B451F #1F6B1F
split-complementary
#1F456B #6B1F1F #6B6B1F
monochromatic
#070F18 #11263C #1F456B #2D649A #3D82C7

Accessibility & contrast

On white

9.90
#1F456B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1F456B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F456B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F456B#FFFFFF#000000##FFFFFF
##1F456B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#2A406A
Tritanopia (blue-blind)
#004E53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f456b;
/* rgb */ color: rgb(31, 69, 107);
/* oklch */ color: oklch(38.2% 0.078 250.6);
Tailwind
colors: {
  custom: {
    50: '#647895',
    500: '#1f456b',
    950: '#000000',
  },
}
SCSS
$custom: #1f456b;
$custom-light: #647895;
$custom-dark: #000000;
JSON
{
  "hex": "#1f456b",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 107
  },
  "hsl": {
    "h": 210,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38228,
    "c": 0.07832,
    "h": 250.6
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#1F456B
secondary
#9F7347
accent
#9449DE
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #1F456B

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

Preview Lab → · Contrast checker → · Palette generator →

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