#1F4358#1F4358

#1F4358 is a dark, muted cyan. Relative luminance 0.050; OKLCH L 36.6% C 0.055 H 236.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1F4358
RGBrgb(31, 67, 88)
HSLhsl(202, 48%, 23%)
HSVhsv(202, 65%, 35%)
CMYKcmyk(64.8%, 23.9%, 0%, 65.5%)
CIE-LABlab(26.76, -5.71, -16.41)
CIE-LCHlch(26.76, 17.38, 250.83°)
OKLaboklab(36.61% -0.0304 -0.0459)
OKLCHoklch(36.61% 0.055 236.5)
XYZxyz(4.3330, 5.0098, 9.9693)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4358 #58341F
analogous
#1F5850 #1F4358 #1F2658
triadic
#1F4358 #581F43 #43581F
tetradic
#1F4358 #501F58 #58341F #26581F
square
#1F4358 #501F58 #58341F #26581F
split-complementary
#1F4358 #581F26 #58501F
monochromatic
#081117 #0F212B #1F4358 #2F6585 #3F88B3

Accessibility & contrast

On white

10.49
#1F4358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1F4358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4358
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4358#FFFFFF#000000##FFFFFF
##1F43581.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394359
Deuteranopia (green-blind)
#313D58
Tritanopia (blue-blind)
#00484A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f4358;
/* rgb */ color: rgb(31, 67, 88);
/* oklch */ color: oklch(36.6% 0.055 236.5);
Tailwind
colors: {
  custom: {
    50: '#617787',
    500: '#1f4358',
    950: '#000000',
  },
}
SCSS
$custom: #1f4358;
$custom-light: #617787;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4358",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 88
  },
  "hsl": {
    "h": 202.105,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.36613,
    "c": 0.05507,
    "h": 236.5
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#1F4358
secondary
#8D6046
accent
#8250D7
background
#F5F7F8
surface
#EAEDEF
border
#C6C8CA
text
#05080B
muted
#797B7C

Preview Lab

Preview with #1F4358

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

Preview Lab → · Contrast checker → · Palette generator →

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