#1F36A6#1F36A6

#1F36A6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.181 H 267.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#1F36A6
RGBrgb(31, 54, 166)
HSLhsl(230, 69%, 39%)
HSVhsv(230, 81%, 65%)
CMYKcmyk(81.3%, 67.5%, 0%, 34.9%)
CIE-LABlab(28.59, 33.67, -62.30)
CIE-LCHlch(28.59, 70.82, 298.39°)
OKLaboklab(39.78% -0.0076 -0.1804)
OKLCHoklch(39.78% 0.181 267.6)
XYZxyz(8.7648, 5.6818, 36.7038)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F36A6 #A68F1F
analogous
#1F79A6 #1F36A6 #4B1FA6
triadic
#1F36A6 #A61F36 #36A61F
tetradic
#1F36A6 #A61F79 #A68F1F #1FA64B
square
#1F36A6 #A61F79 #A68F1F #1FA64B
split-complementary
#1F36A6 #A64B1F #79A61F
monochromatic
#0C143F #152572 #1F36A6 #2B48D7 #5E75E1

Accessibility & contrast

On white

9.83
#1F36A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1F36A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F36A6
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F36A6#FFFFFF#000000##FFFFFF
##1F36A61.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f36a6;
/* rgb */ color: rgb(31, 54, 166);
/* oklch */ color: oklch(39.8% 0.181 267.6);
Tailwind
colors: {
  custom: {
    50: '#736dc1',
    500: '#1f36a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f36a6;
$custom-light: #736dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f36a6",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 229.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.18061,
    "h": 267.6
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#1F36A6
secondary
#C5B35B
accent
#CE3CEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #1F36A6

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

Preview Lab → · Contrast checker → · Palette generator →

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