#1F5AA9#1F5AA9

#1F5AA9 is a mid, vivid cyan. Relative luminance 0.105; OKLCH L 47.4% C 0.141 H 257.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#1F5AA9
RGBrgb(31, 90, 169)
HSLhsl(214, 69%, 39%)
HSVhsv(214, 82%, 66%)
CMYKcmyk(81.7%, 46.7%, 0%, 33.7%)
CIE-LABlab(38.67, 10.80, -47.72)
CIE-LCHlch(38.67, 48.93, 282.75°)
OKLaboklab(47.44% -0.0311 -0.137)
OKLCHoklch(47.44% 0.141 257.2)
XYZxyz(11.3800, 10.4668, 38.9489)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5AA9 #A96E1F
analogous
#1F9FA9 #1F5AA9 #291FA9
triadic
#1F5AA9 #A91F5A #5AA91F
tetradic
#1F5AA9 #A91F9F #A96E1F #1FA929
square
#1F5AA9 #A91F9F #A96E1F #1FA929
split-complementary
#1F5AA9 #A9291F #9FA91F
monochromatic
#0C2342 #163E75 #1F5AA9 #2D76D8 #6098E2

Accessibility & contrast

On white

6.79
#1F5AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#1F5AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5AA9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5AA9#FFFFFF#000000##FFFFFF
##1F5AA91.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#0855A7
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5aa9;
/* rgb */ color: rgb(31, 90, 169);
/* oklch */ color: oklch(47.4% 0.141 257.2);
Tailwind
colors: {
  custom: {
    50: '#7288c3',
    500: '#1f5aa9',
    950: '#000000',
  },
}
SCSS
$custom: #1f5aa9;
$custom-light: #7288c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5aa9",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 169
  },
  "hsl": {
    "h": 214.348,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47441,
    "c": 0.14054,
    "h": 257.2
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#1F5AA9
secondary
#C79A5D
accent
#A13CEC
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F5AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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