#1F5BA9#1F5BA9

#1F5BA9 is a mid, vivid cyan. Relative luminance 0.106; OKLCH L 47.7% C 0.139 H 256.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#1F5BA9
RGBrgb(31, 91, 169)
HSLhsl(214, 69%, 39%)
HSVhsv(214, 82%, 66%)
CMYKcmyk(81.7%, 46.2%, 0%, 33.7%)
CIE-LABlab(38.96, 10.14, -47.25)
CIE-LCHlch(38.96, 48.32, 282.12°)
OKLaboklab(47.67% -0.032 -0.1356)
OKLCHoklch(47.67% 0.139 256.7)
XYZxyz(11.4649, 10.6367, 38.9772)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5BA9 #A96D1F
analogous
#1FA0A9 #1F5BA9 #281FA9
triadic
#1F5BA9 #A91F5B #5BA91F
tetradic
#1F5BA9 #A91FA0 #A96D1F #1FA928
square
#1F5BA9 #A91FA0 #A96D1F #1FA928
split-complementary
#1F5BA9 #A9281F #A0A91F
monochromatic
#0C2342 #163F75 #1F5BA9 #2D77D8 #6099E2

Accessibility & contrast

On white

6.71
#1F5BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#1F5BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5BA9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5BA9#FFFFFF#000000##FFFFFF
##1F5BA91.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AC
Deuteranopia (green-blind)
#0F56A7
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f5ba9;
/* rgb */ color: rgb(31, 91, 169);
/* oklch */ color: oklch(47.7% 0.139 256.7);
Tailwind
colors: {
  custom: {
    50: '#7288c3',
    500: '#1f5ba9',
    950: '#000000',
  },
}
SCSS
$custom: #1f5ba9;
$custom-light: #7288c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5ba9",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 169
  },
  "hsl": {
    "h": 213.913,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47668,
    "c": 0.13934,
    "h": 256.7
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#1F5BA9
secondary
#C7995D
accent
#9F3CEC
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F5BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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