#1F5490#1F5490

#1F5490 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.3% C 0.113 H 254.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#1F5490
RGBrgb(31, 84, 144)
HSLhsl(212, 65%, 34%)
HSVhsv(212, 78%, 56%)
CMYKcmyk(78.5%, 41.7%, 0%, 43.5%)
CIE-LABlab(35.29, 4.84, -38.12)
CIE-LCHlch(35.29, 38.43, 277.23°)
OKLaboklab(44.31% -0.0312 -0.1089)
OKLCHoklch(44.31% 0.113 254)
XYZxyz(8.7676, 8.6445, 27.5866)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5490 #905B1F
analogous
#1F8D90 #1F5490 #221F90
triadic
#1F5490 #901F54 #54901F
tetradic
#1F5490 #901F8D #905B1F #1F9022
square
#1F5490 #901F8D #905B1F #1F9022
split-complementary
#1F5490 #90221F #8D901F
monochromatic
#09192B #14375E #1F5490 #2A71C2 #5090D9

Accessibility & contrast

On white

7.69
#1F5490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5490
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5490#FFFFFF#000000##FFFFFF
##1F54901.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375992
Deuteranopia (green-blind)
#244E8F
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5490;
/* rgb */ color: rgb(31, 84, 144);
/* oklch */ color: oklch(44.3% 0.113 254.0);
Tailwind
colors: {
  custom: {
    50: '#6c83b1',
    500: '#1f5490',
    950: '#000000',
  },
}
SCSS
$custom: #1f5490;
$custom-light: #6c83b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5490",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 211.858,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.11333,
    "h": 254
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#1F5490
secondary
#BC894E
accent
#9940E8
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #1F5490

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

Preview Lab → · Contrast checker → · Palette generator →

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