#1F436F#1F436F

#1F436F is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.0% C 0.086 H 254.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#1F436F
RGBrgb(31, 67, 111)
HSLhsl(213, 56%, 28%)
HSVhsv(213, 72%, 44%)
CMYKcmyk(72.1%, 39.6%, 0%, 56.5%)
CIE-LABlab(27.99, 3.09, -29.26)
CIE-LCHlch(27.99, 29.42, 276.03°)
OKLaboklab(37.98% -0.0226 -0.0832)
OKLCHoklch(37.98% 0.086 254.8)
XYZxyz(5.4404, 5.4527, 15.8016)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F436F #6F4B1F
analogous
#1F6B6F #1F436F #231F6F
triadic
#1F436F #6F1F43 #436F1F
tetradic
#1F436F #6F1F6B #6F4B1F #1F6F23
square
#1F436F #6F1F6B #6F4B1F #1F6F23
split-complementary
#1F436F #6F231F #6B6F1F
monochromatic
#070E18 #12263F #1F436F #2C609F #3F7DC9

Accessibility & contrast

On white

10.04
#1F436F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1F436F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F436F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F436F#FFFFFF#000000##FFFFFF
##1F436F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4671
Deuteranopia (green-blind)
#233F6E
Tritanopia (blue-blind)
#004D53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f436f;
/* rgb */ color: rgb(31, 67, 111);
/* oklch */ color: oklch(38.0% 0.086 254.8);
Tailwind
colors: {
  custom: {
    50: '#657698',
    500: '#1f436f',
    950: '#000000',
  },
}
SCSS
$custom: #1f436f;
$custom-light: #657698;
$custom-dark: #000000;
JSON
{
  "hex": "#1f436f",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 111
  },
  "hsl": {
    "h": 213,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37979,
    "c": 0.08627,
    "h": 254.8
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#1F436F
secondary
#A37A47
accent
#9B48E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F436F

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

Preview Lab → · Contrast checker → · Palette generator →

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