#1F456A#1F456A

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

Color values

HEX#1F456A
RGBrgb(31, 69, 106)
HSLhsl(210, 55%, 27%)
HSVhsv(210, 71%, 42%)
CMYKcmyk(70.8%, 34.9%, 0%, 58.4%)
CIE-LABlab(28.35, -0.21, -25.51)
CIE-LCHlch(28.35, 25.51, 269.54°)
OKLaboklab(38.17% -0.0263 -0.0723)
OKLCHoklch(38.17% 0.077 250)
XYZxyz(5.2937, 5.5876, 14.4324)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F456A #6A441F
analogous
#1F6A6A #1F456A #1F1F6A
triadic
#1F456A #6A1F45 #456A1F
tetradic
#1F456A #6A1F6A #6A441F #1F6A1F
square
#1F456A #6A1F6A #6A441F #1F6A1F
split-complementary
#1F456A #6A1F1F #6A6A1F
monochromatic
#070F18 #11263B #1F456A #2D6499 #3D83C6

Accessibility & contrast

On white

9.92
#1F456A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F456A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F456A#FFFFFF#000000##FFFFFF
##1F456A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35476C
Deuteranopia (green-blind)
#2A4069
Tritanopia (blue-blind)
#004E52
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f456a;
/* rgb */ color: rgb(31, 69, 106);
/* oklch */ color: oklch(38.2% 0.077 250.0);
Tailwind
colors: {
  custom: {
    50: '#647895',
    500: '#1f456a',
    950: '#000000',
  },
}
SCSS
$custom: #1f456a;
$custom-light: #647895;
$custom-dark: #000000;
JSON
{
  "hex": "#1f456a",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 106
  },
  "hsl": {
    "h": 209.6,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38167,
    "c": 0.07692,
    "h": 250
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#1F456A
secondary
#9E7247
accent
#934ADE
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #1F456A

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

Preview Lab → · Contrast checker → · Palette generator →

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