#1F36A9#1F36A9

#1F36A9 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.184 H 267.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#1F36A9
RGBrgb(31, 54, 169)
HSLhsl(230, 69%, 39%)
HSVhsv(230, 82%, 66%)
CMYKcmyk(81.7%, 68%, 0%, 33.7%)
CIE-LABlab(28.88, 34.79, -63.63)
CIE-LCHlch(28.88, 72.53, 298.67°)
OKLaboklab(40.08% -0.0078 -0.1843)
OKLCHoklch(40.08% 0.184 267.6)
XYZxyz(9.0432, 5.7931, 38.1700)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F36A9 #A9921F
analogous
#1F7BA9 #1F36A9 #4D1FA9
triadic
#1F36A9 #A91F36 #36A91F
tetradic
#1F36A9 #A91F7B #A9921F #1FA94D
square
#1F36A9 #A91F7B #A9921F #1FA94D
split-complementary
#1F36A9 #A94D1F #7BA91F
monochromatic
#0C1542 #162575 #1F36A9 #2D49D8 #6076E2

Accessibility & contrast

On white

9.73
#1F36A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1F36A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F36A9
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F36A9#FFFFFF#000000##FFFFFF
##1F36A91.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f36a9;
/* rgb */ color: rgb(31, 54, 169);
/* oklch */ color: oklch(40.1% 0.184 267.6);
Tailwind
colors: {
  custom: {
    50: '#746dc4',
    500: '#1f36a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f36a9;
$custom-light: #746dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f36a9",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 230,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.18449,
    "h": 267.6
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#1F36A9
secondary
#C7B55D
accent
#CF3CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1F36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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