#1F456E#1F456E

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

Color values

HEX#1F456E
RGBrgb(31, 69, 110)
HSLhsl(211, 56%, 28%)
HSVhsv(211, 72%, 43%)
CMYKcmyk(71.8%, 37.3%, 0%, 56.9%)
CIE-LABlab(28.57, 1.35, -27.70)
CIE-LCHlch(28.57, 27.73, 272.80°)
OKLaboklab(38.42% -0.0251 -0.0787)
OKLCHoklch(38.42% 0.083 252.3)
XYZxyz(5.5066, 5.6728, 15.5536)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F456E #6E481F
analogous
#1F6C6E #1F456E #201F6E
triadic
#1F456E #6E1F45 #456E1F
tetradic
#1F456E #6E1F6C #6E481F #1F6E20
square
#1F456E #6E1F6C #6E481F #1F6E20
split-complementary
#1F456E #6E201F #6C6E1F
monochromatic
#070F18 #12273E #1F456E #2C639E #3F81C9

Accessibility & contrast

On white

9.84
#1F456E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F456E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F456E#FFFFFF#000000##FFFFFF
##1F456E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334770
Deuteranopia (green-blind)
#27406D
Tritanopia (blue-blind)
#004F54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f456e;
/* rgb */ color: rgb(31, 69, 110);
/* oklch */ color: oklch(38.4% 0.083 252.3);
Tailwind
colors: {
  custom: {
    50: '#657898',
    500: '#1f456e',
    950: '#000000',
  },
}
SCSS
$custom: #1f456e;
$custom-light: #657898;
$custom-dark: #000000;
JSON
{
  "hex": "#1f456e",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 110
  },
  "hsl": {
    "h": 211.139,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.08257,
    "h": 252.3
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#1F456E
secondary
#A27647
accent
#9748DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #1F456E

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

Preview Lab → · Contrast checker → · Palette generator →

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