#1F5FA9#1F5FA9

#1F5FA9 is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.6% C 0.135 H 254.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#1F5FA9
RGBrgb(31, 95, 169)
HSLhsl(212, 69%, 39%)
HSVhsv(212, 82%, 66%)
CMYKcmyk(81.7%, 43.8%, 0%, 33.7%)
CIE-LABlab(40.15, 7.54, -45.35)
CIE-LCHlch(40.15, 45.97, 279.44°)
OKLaboklab(48.59% -0.0352 -0.13)
OKLCHoklch(48.59% 0.135 254.8)
XYZxyz(11.8160, 11.3389, 39.0943)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5FA9 #A9691F
analogous
#1FA4A9 #1F5FA9 #241FA9
triadic
#1F5FA9 #A91F5F #5FA91F
tetradic
#1F5FA9 #A91FA4 #A9691F #1FA924
square
#1F5FA9 #A91FA4 #A9691F #1FA924
split-complementary
#1F5FA9 #A9241F #A4A91F
monochromatic
#0C2542 #164275 #1F5FA9 #2D7CD8 #609DE2

Accessibility & contrast

On white

6.43
#1F5FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#1F5FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5FA9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5FA9#FFFFFF#000000##FFFFFF
##1F5FA91.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AC
Deuteranopia (green-blind)
#1E59A8
Tritanopia (blue-blind)
#00717B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f5fa9;
/* rgb */ color: rgb(31, 95, 169);
/* oklch */ color: oklch(48.6% 0.135 254.8);
Tailwind
colors: {
  custom: {
    50: '#728bc3',
    500: '#1f5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #1f5fa9;
$custom-light: #728bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5fa9",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 212.174,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48585,
    "c": 0.13465,
    "h": 254.8
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#1F5FA9
secondary
#C7965D
accent
#9A3CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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