#1F5090#1F5090

#1F5090 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.4% C 0.118 H 256.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#1F5090
RGBrgb(31, 80, 144)
HSLhsl(214, 65%, 34%)
HSVhsv(214, 78%, 56%)
CMYKcmyk(78.5%, 44.4%, 0%, 43.5%)
CIE-LABlab(34.07, 7.48, -40.07)
CIE-LCHlch(34.07, 40.77, 280.58°)
OKLaboklab(43.36% -0.0276 -0.1148)
OKLCHoklch(43.36% 0.118 256.5)
XYZxyz(8.4659, 8.0413, 27.4861)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5090 #905F1F
analogous
#1F8990 #1F5090 #271F90
triadic
#1F5090 #901F50 #50901F
tetradic
#1F5090 #901F89 #905F1F #1F9027
square
#1F5090 #901F89 #905F1F #1F9027
split-complementary
#1F5090 #90271F #89901F
monochromatic
#09182B #14345E #1F5090 #2A6CC2 #508CD9

Accessibility & contrast

On white

8.05
#1F5090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1F5090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5090
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5090#FFFFFF#000000##FFFFFF
##1F50901.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305692
Deuteranopia (green-blind)
#1A4B8F
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5090;
/* rgb */ color: rgb(31, 80, 144);
/* oklch */ color: oklch(43.4% 0.118 256.5);
Tailwind
colors: {
  custom: {
    50: '#6c80b1',
    500: '#1f5090',
    950: '#000000',
  },
}
SCSS
$custom: #1f5090;
$custom-light: #6c80b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5090",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 144
  },
  "hsl": {
    "h": 213.982,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43365,
    "c": 0.11803,
    "h": 256.5
  },
  "luminance": 0.08042
}

Semantic roles & 50–950 ramp

primary
#1F5090
secondary
#BC8D4E
accent
#9F40E8
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5090

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

Preview Lab → · Contrast checker → · Palette generator →

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