#1F5B8E#1F5B8E

#1F5B8E is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.9% C 0.103 H 248.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#1F5B8E
RGBrgb(31, 91, 142)
HSLhsl(208, 64%, 34%)
HSVhsv(208, 78%, 56%)
CMYKcmyk(78.2%, 35.9%, 0%, 44.3%)
CIE-LABlab(37.34, -0.47, -33.64)
CIE-LCHlch(37.34, 33.65, 269.19°)
OKLaboklab(45.88% -0.0384 -0.0957)
OKLCHoklch(45.88% 0.103 248.1)
XYZxyz(9.1868, 9.7254, 26.9790)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B8E #8E521F
analogous
#1F8E8A #1F5B8E #1F238E
triadic
#1F5B8E #8E1F5B #5B8E1F
tetradic
#1F5B8E #8A1F8E #8E521F #238E1F
square
#1F5B8E #8A1F8E #8E521F #238E1F
split-complementary
#1F5B8E #8E1F23 #8E8A1F
monochromatic
#091B2A #143B5C #1F5B8E #2A7BC0 #4F99D9

Accessibility & contrast

On white

7.13
#1F5B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#1F5B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B8E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B8E#FFFFFF#000000##FFFFFF
##1F5B8E1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D90
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5b8e;
/* rgb */ color: rgb(31, 91, 142);
/* oklch */ color: oklch(45.9% 0.103 248.1);
Tailwind
colors: {
  custom: {
    50: '#6c89af',
    500: '#1f5b8e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b8e;
$custom-light: #6c89af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b8e",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 142
  },
  "hsl": {
    "h": 207.568,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45884,
    "c": 0.10311,
    "h": 248.1
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#1F5B8E
secondary
#BB804D
accent
#8D41E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F5B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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