#1F426F#1F426F

#1F426F is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.7% C 0.087 H 255.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#1F426F
RGBrgb(31, 66, 111)
HSLhsl(214, 56%, 28%)
HSVhsv(214, 72%, 44%)
CMYKcmyk(72.1%, 40.5%, 0%, 56.5%)
CIE-LABlab(27.67, 3.77, -29.77)
CIE-LCHlch(27.67, 30.01, 277.22°)
OKLaboklab(37.73% -0.0216 -0.0848)
OKLCHoklch(37.73% 0.087 255.7)
XYZxyz(5.3815, 5.3349, 15.7820)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F426F #6F4C1F
analogous
#1F6A6F #1F426F #241F6F
triadic
#1F426F #6F1F42 #426F1F
tetradic
#1F426F #6F1F6A #6F4C1F #1F6F24
square
#1F426F #6F1F6A #6F4C1F #1F6F24
split-complementary
#1F426F #6F241F #6A6F1F
monochromatic
#070E18 #12263F #1F426F #2C5E9F #3F7CC9

Accessibility & contrast

On white

10.16
#1F426F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1F426F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F426F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F426F#FFFFFF#000000##FFFFFF
##1F426F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4571
Deuteranopia (green-blind)
#223E6E
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f426f;
/* rgb */ color: rgb(31, 66, 111);
/* oklch */ color: oklch(37.7% 0.087 255.7);
Tailwind
colors: {
  custom: {
    50: '#657698',
    500: '#1f426f',
    950: '#000000',
  },
}
SCSS
$custom: #1f426f;
$custom-light: #657698;
$custom-dark: #000000;
JSON
{
  "hex": "#1f426f",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 111
  },
  "hsl": {
    "h": 213.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3773,
    "c": 0.08745,
    "h": 255.7
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#1F426F
secondary
#A37B47
accent
#9D48E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F426F

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

Preview Lab → · Contrast checker → · Palette generator →

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