#1F33A0#1F33A0

#1F33A0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.176 H 268.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#1F33A0
RGBrgb(31, 51, 160)
HSLhsl(231, 68%, 37%)
HSVhsv(231, 81%, 63%)
CMYKcmyk(80.6%, 68.1%, 0%, 37.3%)
CIE-LABlab(27.29, 33.38, -60.82)
CIE-LCHlch(27.29, 69.38, 298.76°)
OKLaboklab(38.65% -0.0057 -0.1761)
OKLCHoklch(38.65% 0.176 268.1)
XYZxyz(8.0919, 5.1961, 33.8274)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F33A0 #A08C1F
analogous
#1F73A0 #1F33A0 #4C1FA0
triadic
#1F33A0 #A01F33 #33A01F
tetradic
#1F33A0 #A01F73 #A08C1F #1FA04C
square
#1F33A0 #A01F73 #A08C1F #1FA04C
split-complementary
#1F33A0 #A04C1F #73A01F
monochromatic
#0B1239 #15236D #1F33A0 #2943D3 #5A6FDF

Accessibility & contrast

On white

10.30
#1F33A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1F33A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F33A0
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F33A0#FFFFFF#000000##FFFFFF
##1F33A01.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f33a0;
/* rgb */ color: rgb(31, 51, 160);
/* oklch */ color: oklch(38.6% 0.176 268.1);
Tailwind
colors: {
  custom: {
    50: '#726bbd',
    500: '#1f33a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f33a0;
$custom-light: #726bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f33a0",
  "rgb": {
    "r": 31,
    "g": 51,
    "b": 160
  },
  "hsl": {
    "h": 230.698,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38646,
    "c": 0.17624,
    "h": 268.1
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#1F33A0
secondary
#C3B258
accent
#D03DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1F33A0

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

Preview Lab → · Contrast checker → · Palette generator →

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