#2F33A4#2F33A4

#2F33A4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.177 H 273.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2F33A4
RGBrgb(47, 51, 164)
HSLhsl(238, 55%, 41%)
HSVhsv(238, 71%, 64%)
CMYKcmyk(71.3%, 68.9%, 0%, 35.7%)
CIE-LABlab(28.52, 36.48, -61.20)
CIE-LCHlch(28.52, 71.25, 300.80°)
OKLaboklab(39.88% 0.0106 -0.1769)
OKLCHoklch(39.88% 0.177 273.4)
XYZxyz(9.0547, 5.6514, 35.7284)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33A4 #A4A02F
analogous
#2F6EA4 #2F33A4 #662FA4
triadic
#2F33A4 #A42F33 #33A42F
tetradic
#2F33A4 #A42F6E #A4A02F #2FA466
square
#2F33A4 #A42F6E #A4A02F #2FA466
split-complementary
#2F33A4 #A4662F #6EA42F
monochromatic
#141545 #212474 #2F33A4 #464BCA #7679D8

Accessibility & contrast

On white

9.86
#2F33A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F33A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33A4
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33A4#FFFFFF#000000##FFFFFF
##2F33A41.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f33a4;
/* rgb */ color: rgb(47, 51, 164);
/* oklch */ color: oklch(39.9% 0.177 273.4);
Tailwind
colors: {
  custom: {
    50: '#796bc0',
    500: '#2f33a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f33a4;
$custom-light: #796bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33a4",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 237.949,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39884,
    "c": 0.1772,
    "h": 273.4
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#2F33A4
secondary
#C0BD6F
accent
#DA49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F33A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2F33A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva