#1F5299#1F5299

#1F5299 is a dark, vivid cyan. Relative luminance 0.086; OKLCH L 44.5% C 0.128 H 257.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#1F5299
RGBrgb(31, 82, 153)
HSLhsl(215, 66%, 36%)
HSVhsv(215, 80%, 60%)
CMYKcmyk(79.7%, 46.4%, 0%, 40%)
CIE-LABlab(35.25, 9.74, -43.64)
CIE-LCHlch(35.25, 44.71, 282.58°)
OKLaboklab(44.47% -0.0275 -0.1252)
OKLCHoklch(44.47% 0.128 257.6)
XYZxyz(9.3300, 8.6247, 31.3038)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5299 #99661F
analogous
#1F8F99 #1F5299 #291F99
triadic
#1F5299 #991F52 #52991F
tetradic
#1F5299 #991F8F #99661F #1F9929
square
#1F5299 #991F8F #99661F #1F9929
split-complementary
#1F5299 #99291F #8F991F
monochromatic
#0A1B33 #153766 #1F5299 #296DCC #568EDD

Accessibility & contrast

On white

7.71
#1F5299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1F5299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5299
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5299#FFFFFF#000000##FFFFFF
##1F52991.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599C
Deuteranopia (green-blind)
#104E98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5299;
/* rgb */ color: rgb(31, 82, 153);
/* oklch */ color: oklch(44.5% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#6e82b7',
    500: '#1f5299',
    950: '#000000',
  },
}
SCSS
$custom: #1f5299;
$custom-light: #6e82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5299",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 214.918,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44467,
    "c": 0.12818,
    "h": 257.6
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#1F5299
secondary
#C09354
accent
#A23FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5299

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

Preview Lab → · Contrast checker → · Palette generator →

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