#1F426B#1F426B

#1F426B is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.5% C 0.082 H 253.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#1F426B
RGBrgb(31, 66, 107)
HSLhsl(212, 55%, 27%)
HSVhsv(212, 71%, 42%)
CMYKcmyk(71%, 38.3%, 0%, 58%)
CIE-LABlab(27.43, 2.19, -27.60)
CIE-LCHlch(27.43, 27.68, 274.55°)
OKLaboklab(37.47% -0.0226 -0.0784)
OKLCHoklch(37.47% 0.082 253.9)
XYZxyz(5.1662, 5.2487, 14.6479)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F426B #6B481F
analogous
#1F686B #1F426B #221F6B
triadic
#1F426B #6B1F42 #426B1F
tetradic
#1F426B #6B1F68 #6B481F #1F6B22
square
#1F426B #6B1F68 #6B481F #1F6B22
split-complementary
#1F426B #6B221F #686B1F
monochromatic
#070F18 #11253C #1F426B #2D5F9A #3D7DC7

Accessibility & contrast

On white

10.24
#1F426B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1F426B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F426B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F426B#FFFFFF#000000##FFFFFF
##1F426B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#253E6A
Tritanopia (blue-blind)
#004C51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f426b;
/* rgb */ color: rgb(31, 66, 107);
/* oklch */ color: oklch(37.5% 0.082 253.9);
Tailwind
colors: {
  custom: {
    50: '#647695',
    500: '#1f426b',
    950: '#000000',
  },
}
SCSS
$custom: #1f426b;
$custom-light: #647695;
$custom-dark: #000000;
JSON
{
  "hex": "#1f426b",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 107
  },
  "hsl": {
    "h": 212.368,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37468,
    "c": 0.0816,
    "h": 253.9
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#1F426B
secondary
#9F7647
accent
#9A49DE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #1F426B

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

Preview Lab → · Contrast checker → · Palette generator →

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