#1F5E9E#1F5E9E

#1F5E9E is a mid, vivid cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.121 H 252.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#1F5E9E
RGBrgb(31, 94, 158)
HSLhsl(210, 67%, 37%)
HSVhsv(210, 80%, 62%)
CMYKcmyk(80.4%, 40.5%, 0%, 38%)
CIE-LABlab(39.18, 3.86, -40.35)
CIE-LCHlch(39.18, 40.54, 275.46°)
OKLaboklab(47.62% -0.0369 -0.1153)
OKLCHoklch(47.62% 0.121 252.3)
XYZxyz(10.7370, 10.7640, 33.8529)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E9E #9E5F1F
analogous
#1F9E9E #1F5E9E #1F1F9E
triadic
#1F5E9E #9E1F5E #5E9E1F
tetradic
#1F5E9E #9E1F9E #9E5F1F #1F9E1F
square
#1F5E9E #9E1F9E #9E5F1F #1F9E1F
split-complementary
#1F5E9E #9E1F1F #9E9E1F
monochromatic
#0B2138 #15406B #1F5E9E #297CD1 #599BDE

Accessibility & contrast

On white

6.66
#1F5E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#1F5E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E9E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E9E#FFFFFF#000000##FFFFFF
##1F5E9E1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F63A1
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f5e9e;
/* rgb */ color: rgb(31, 94, 158);
/* oklch */ color: oklch(47.6% 0.121 252.3);
Tailwind
colors: {
  custom: {
    50: '#6f8bbb',
    500: '#1f5e9e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e9e;
$custom-light: #6f8bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e9e",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 158
  },
  "hsl": {
    "h": 210.236,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.12106,
    "h": 252.3
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#1F5E9E
secondary
#C28D56
accent
#953EEA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F5E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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