#1F5DA9#1F5DA9

#1F5DA9 is a mid, vivid cyan. Relative luminance 0.110; OKLCH L 48.1% C 0.137 H 255.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#1F5DA9
RGBrgb(31, 93, 169)
HSLhsl(213, 69%, 39%)
HSVhsv(213, 82%, 66%)
CMYKcmyk(81.7%, 45%, 0%, 33.7%)
CIE-LABlab(39.55, 8.84, -46.30)
CIE-LCHlch(39.55, 47.13, 280.81°)
OKLaboklab(48.13% -0.0336 -0.1328)
OKLCHoklch(48.13% 0.137 255.8)
XYZxyz(11.6382, 10.9832, 39.0350)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5DA9 #A96B1F
analogous
#1FA2A9 #1F5DA9 #261FA9
triadic
#1F5DA9 #A91F5D #5DA91F
tetradic
#1F5DA9 #A91FA2 #A96B1F #1FA926
square
#1F5DA9 #A91FA2 #A96B1F #1FA926
split-complementary
#1F5DA9 #A9261F #A2A91F
monochromatic
#0C2442 #164175 #1F5DA9 #2D7AD8 #609BE2

Accessibility & contrast

On white

6.57
#1F5DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#1F5DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5DA9
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5DA9#FFFFFF#000000##FFFFFF
##1F5DA91.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AC
Deuteranopia (green-blind)
#1757A7
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f5da9;
/* rgb */ color: rgb(31, 93, 169);
/* oklch */ color: oklch(48.1% 0.137 255.8);
Tailwind
colors: {
  custom: {
    50: '#728ac3',
    500: '#1f5da9',
    950: '#000000',
  },
}
SCSS
$custom: #1f5da9;
$custom-light: #728ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5da9",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 169
  },
  "hsl": {
    "h": 213.043,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48125,
    "c": 0.13698,
    "h": 255.8
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#1F5DA9
secondary
#C7975D
accent
#9D3CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F5DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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