#1F5EA9#1F5EA9

#1F5EA9 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.4% C 0.136 H 255.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#1F5EA9
RGBrgb(31, 94, 169)
HSLhsl(213, 69%, 39%)
HSVhsv(213, 82%, 66%)
CMYKcmyk(81.7%, 44.4%, 0%, 33.7%)
CIE-LABlab(39.85, 8.19, -45.82)
CIE-LCHlch(39.85, 46.55, 280.13°)
OKLaboklab(48.36% -0.0344 -0.1314)
OKLCHoklch(48.36% 0.136 255.3)
XYZxyz(11.7265, 11.1599, 39.0644)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5EA9 #A96A1F
analogous
#1FA3A9 #1F5EA9 #251FA9
triadic
#1F5EA9 #A91F5E #5EA91F
tetradic
#1F5EA9 #A91FA3 #A96A1F #1FA925
square
#1F5EA9 #A91FA3 #A96A1F #1FA925
split-complementary
#1F5EA9 #A9251F #A3A91F
monochromatic
#0C2442 #164175 #1F5EA9 #2D7BD8 #609CE2

Accessibility & contrast

On white

6.50
#1F5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#1F5EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5EA9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5EA9#FFFFFF#000000##FFFFFF
##1F5EA91.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AC
Deuteranopia (green-blind)
#1B58A8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f5ea9;
/* rgb */ color: rgb(31, 94, 169);
/* oklch */ color: oklch(48.4% 0.136 255.3);
Tailwind
colors: {
  custom: {
    50: '#728bc3',
    500: '#1f5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #1f5ea9;
$custom-light: #728bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5ea9",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 212.609,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48355,
    "c": 0.13581,
    "h": 255.3
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#1F5EA9
secondary
#C7965D
accent
#9C3CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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