#1F539C#1F539C

#1F539C is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.131 H 257.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#1F539C
RGBrgb(31, 83, 156)
HSLhsl(215, 67%, 37%)
HSVhsv(215, 80%, 61%)
CMYKcmyk(80.1%, 46.8%, 0%, 38.8%)
CIE-LABlab(35.75, 10.27, -44.65)
CIE-LCHlch(35.75, 45.81, 282.95°)
OKLaboklab(44.91% -0.0278 -0.1281)
OKLCHoklch(44.91% 0.131 257.8)
XYZxyz(9.6569, 8.8770, 32.6505)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F539C #9C681F
analogous
#1F929C #1F539C #2A1F9C
triadic
#1F539C #9C1F53 #539C1F
tetradic
#1F539C #9C1F92 #9C681F #1F9C2A
square
#1F539C #9C1F92 #9C681F #1F9C2A
split-complementary
#1F539C #9C2A1F #929C1F
monochromatic
#0B1D36 #153869 #1F539C #296ECF #588FDE

Accessibility & contrast

On white

7.57
#1F539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1F539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F539C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F539C#FFFFFF#000000##FFFFFF
##1F539C1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#0C4F9B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f539c;
/* rgb */ color: rgb(31, 83, 156);
/* oklch */ color: oklch(44.9% 0.131 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f82ba',
    500: '#1f539c',
    950: '#000000',
  },
}
SCSS
$custom: #1f539c;
$custom-light: #6f82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f539c",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 215.04,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.13113,
    "h": 257.8
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F539C

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

Preview Lab → · Contrast checker → · Palette generator →

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