#1F33B0#1F33B0

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

Color values

HEX#1F33B0
RGBrgb(31, 51, 176)
HSLhsl(232, 70%, 41%)
HSVhsv(232, 82%, 69%)
CMYKcmyk(82.4%, 71%, 0%, 31%)
CIE-LABlab(28.88, 39.25, -67.83)
CIE-LCHlch(28.88, 78.37, 300.06°)
OKLaboklab(40.28% -0.0071 -0.1966)
OKLCHoklch(40.28% 0.197 267.9)
XYZxyz(9.5827, 5.7924, 41.6789)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F33B0 #B09C1F
analogous
#1F7BB0 #1F33B0 #531FB0
triadic
#1F33B0 #B01F33 #33B01F
tetradic
#1F33B0 #B01F7B #B09C1F #1FB053
square
#1F33B0 #B01F7B #B09C1F #1FB053
split-complementary
#1F33B0 #B0531F #7BB01F
monochromatic
#0D1548 #16247C #1F33B0 #3149DB #6577E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F33B0#FFFFFF#000000##FFFFFF
##1F33B01.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)
#004BB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f33b0;
/* rgb */ color: rgb(31, 51, 176);
/* oklch */ color: oklch(40.3% 0.197 267.9);
Tailwind
colors: {
  custom: {
    50: '#766bc9',
    500: '#1f33b0',
    950: '#000000',
  },
}
SCSS
$custom: #1f33b0;
$custom-light: #766bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f33b0",
  "rgb": {
    "r": 31,
    "g": 51,
    "b": 176
  },
  "hsl": {
    "h": 231.724,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.1967,
    "h": 267.9
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#1F33B0
secondary
#C9BB62
accent
#D43BED
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1F33B0

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

Preview Lab → · Contrast checker → · Palette generator →

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