#1F5594#1F5594

#1F5594 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.8% C 0.118 H 254.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#1F5594
RGBrgb(31, 85, 148)
HSLhsl(212, 65%, 35%)
HSVhsv(212, 79%, 58%)
CMYKcmyk(79.1%, 42.6%, 0%, 42%)
CIE-LABlab(35.84, 5.76, -39.67)
CIE-LCHlch(35.84, 40.09, 278.27°)
OKLaboklab(44.82% -0.0312 -0.1135)
OKLCHoklch(44.82% 0.118 254.6)
XYZxyz(9.1569, 8.9253, 29.2514)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5594 #945E1F
analogous
#1F8F94 #1F5594 #241F94
triadic
#1F5594 #941F55 #55941F
tetradic
#1F5594 #941F8F #945E1F #1F9424
square
#1F5594 #941F8F #945E1F #1F9424
split-complementary
#1F5594 #94241F #8F941F
monochromatic
#0A1B2F #143861 #1F5594 #2A72C7 #5391DB

Accessibility & contrast

On white

7.54
#1F5594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1F5594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5594
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5594#FFFFFF#000000##FFFFFF
##1F55941.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#224F93
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5594;
/* rgb */ color: rgb(31, 85, 148);
/* oklch */ color: oklch(44.8% 0.118 254.6);
Tailwind
colors: {
  custom: {
    50: '#6d84b4',
    500: '#1f5594',
    950: '#000000',
  },
}
SCSS
$custom: #1f5594;
$custom-light: #6d84b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5594",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 148
  },
  "hsl": {
    "h": 212.308,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44821,
    "c": 0.11768,
    "h": 254.6
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#1F5594
secondary
#BE8C51
accent
#9A3FE8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5594

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

Preview Lab → · Contrast checker → · Palette generator →

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