#1F539B#1F539B

#1F539B is a dark, vivid cyan. Relative luminance 0.088; OKLCH L 44.8% C 0.130 H 257.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#1F539B
RGBrgb(31, 83, 155)
HSLhsl(215, 67%, 36%)
HSVhsv(215, 80%, 61%)
CMYKcmyk(80%, 46.5%, 0%, 39.2%)
CIE-LABlab(35.68, 9.87, -44.15)
CIE-LCHlch(35.68, 45.24, 282.60°)
OKLaboklab(44.84% -0.028 -0.1267)
OKLCHoklch(44.84% 0.13 257.5)
XYZxyz(9.5725, 8.8432, 32.2064)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F539B #9B671F
analogous
#1F919B #1F539B #291F9B
triadic
#1F539B #9B1F53 #539B1F
tetradic
#1F539B #9B1F91 #9B671F #1F9B29
square
#1F539B #9B1F91 #9B671F #1F9B29
split-complementary
#1F539B #9B291F #919B1F
monochromatic
#0B1C35 #153868 #1F539B #296ECE #578FDD

Accessibility & contrast

On white

7.58
#1F539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1F539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F539B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F539B#FFFFFF#000000##FFFFFF
##1F539B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#0F4F9A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f539b;
/* rgb */ color: rgb(31, 83, 155);
/* oklch */ color: oklch(44.8% 0.130 257.5);
Tailwind
colors: {
  custom: {
    50: '#6f82b9',
    500: '#1f539b',
    950: '#000000',
  },
}
SCSS
$custom: #1f539b;
$custom-light: #6f82b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f539b",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 214.839,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4484,
    "c": 0.12975,
    "h": 257.5
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#1F539B
secondary
#C19455
accent
#A23EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F539B

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

Preview Lab → · Contrast checker → · Palette generator →

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