#1F539E#1F539E

#1F539E is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.134 H 258.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#1F539E
RGBrgb(31, 83, 158)
HSLhsl(215, 67%, 37%)
HSVhsv(215, 80%, 62%)
CMYKcmyk(80.4%, 47.5%, 0%, 38%)
CIE-LABlab(35.88, 11.06, -45.64)
CIE-LCHlch(35.88, 46.96, 283.63°)
OKLaboklab(45.06% -0.0274 -0.1311)
OKLCHoklch(45.06% 0.134 258.2)
XYZxyz(9.8276, 8.9453, 33.5498)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F539E #9E6A1F
analogous
#1F939E #1F539E #2A1F9E
triadic
#1F539E #9E1F53 #539E1F
tetradic
#1F539E #9E1F93 #9E6A1F #1F9E2A
square
#1F539E #9E1F93 #9E6A1F #1F9E2A
split-complementary
#1F539E #9E2A1F #939E1F
monochromatic
#0B1D38 #15386B #1F539E #296ED1 #5990DE

Accessibility & contrast

On white

7.53
#1F539E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F539E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F539E#FFFFFF#000000##FFFFFF
##1F539E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA1
Deuteranopia (green-blind)
#054F9D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f539e;
/* rgb */ color: rgb(31, 83, 158);
/* oklch */ color: oklch(45.1% 0.134 258.2);
Tailwind
colors: {
  custom: {
    50: '#6f82bb',
    500: '#1f539e',
    950: '#000000',
  },
}
SCSS
$custom: #1f539e;
$custom-light: #6f82bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f539e",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 158
  },
  "hsl": {
    "h": 215.433,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.1339,
    "h": 258.2
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F539E

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

Preview Lab → · Contrast checker → · Palette generator →

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