#1F456C#1F456C

#1F456C is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.3% C 0.080 H 251.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#1F456C
RGBrgb(31, 69, 108)
HSLhsl(210, 55%, 27%)
HSVhsv(210, 71%, 42%)
CMYKcmyk(71.3%, 36.1%, 0%, 57.6%)
CIE-LABlab(28.46, 0.57, -26.61)
CIE-LCHlch(28.46, 26.62, 271.23°)
OKLaboklab(38.29% -0.0257 -0.0755)
OKLCHoklch(38.29% 0.08 251.2)
XYZxyz(5.3990, 5.6297, 14.9866)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F456C #6C461F
analogous
#1F6C6C #1F456C #201F6C
triadic
#1F456C #6C1F45 #456C1F
tetradic
#1F456C #6C1F6C #6C461F #1F6C20
square
#1F456C #6C1F6C #6C461F #1F6C20
split-complementary
#1F456C #6C201F #6C6C1F
monochromatic
#070F18 #11273C #1F456C #2D639C #3E82C8

Accessibility & contrast

On white

9.88
#1F456C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F456C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F456C#FFFFFF#000000##FFFFFF
##1F456C1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476E
Deuteranopia (green-blind)
#29406B
Tritanopia (blue-blind)
#004E53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f456c;
/* rgb */ color: rgb(31, 69, 108);
/* oklch */ color: oklch(38.3% 0.080 251.2);
Tailwind
colors: {
  custom: {
    50: '#647896',
    500: '#1f456c',
    950: '#000000',
  },
}
SCSS
$custom: #1f456c;
$custom-light: #647896;
$custom-dark: #000000;
JSON
{
  "hex": "#1f456c",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 108
  },
  "hsl": {
    "h": 210.39,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3829,
    "c": 0.07973,
    "h": 251.2
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#1F456C
secondary
#A07447
accent
#9549DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #1F456C

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

Preview Lab → · Contrast checker → · Palette generator →

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