#1F539F#1F539F

#1F539F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.1% C 0.135 H 258.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#1F539F
RGBrgb(31, 83, 159)
HSLhsl(216, 67%, 37%)
HSVhsv(216, 81%, 62%)
CMYKcmyk(80.5%, 47.8%, 0%, 37.6%)
CIE-LABlab(35.95, 11.46, -46.13)
CIE-LCHlch(35.95, 47.53, 283.95°)
OKLaboklab(45.13% -0.0273 -0.1325)
OKLCHoklch(45.13% 0.135 258.4)
XYZxyz(9.9140, 8.9798, 34.0049)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F539F #9F6B1F
analogous
#1F939F #1F539F #2B1F9F
triadic
#1F539F #9F1F53 #539F1F
tetradic
#1F539F #9F1F93 #9F6B1F #1F9F2B
square
#1F539F #9F1F93 #9F6B1F #1F9F2B
split-complementary
#1F539F #9F2B1F #939F1F
monochromatic
#0B1E39 #15386C #1F539F #296ED2 #5A90DF

Accessibility & contrast

On white

7.51
#1F539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1F539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F539F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F539F#FFFFFF#000000##FFFFFF
##1F539F1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#014F9D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f539f;
/* rgb */ color: rgb(31, 83, 159);
/* oklch */ color: oklch(45.1% 0.135 258.4);
Tailwind
colors: {
  custom: {
    50: '#7082bc',
    500: '#1f539f',
    950: '#000000',
  },
}
SCSS
$custom: #1f539f;
$custom-light: #7082bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f539f",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 215.625,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.13529,
    "h": 258.4
  },
  "luminance": 0.08981
}

Semantic roles & 50–950 ramp

primary
#1F539F
secondary
#C39757
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F539F

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

Preview Lab → · Contrast checker → · Palette generator →

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