#2F33B2#2F33B2

#2F33B2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.195 H 272.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2F33B2
RGBrgb(47, 51, 178)
HSLhsl(238, 58%, 44%)
HSVhsv(238, 74%, 70%)
CMYKcmyk(73.6%, 71.3%, 0%, 30.2%)
CIE-LABlab(29.88, 41.33, -67.36)
CIE-LCHlch(29.88, 79.03, 301.53°)
OKLaboklab(41.28% 0.0087 -0.1949)
OKLCHoklch(41.28% 0.195 272.6)
XYZxyz(10.3893, 6.1853, 42.7572)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33B2 #B2AE2F
analogous
#2F75B2 #2F33B2 #6D2FB2
triadic
#2F33B2 #B22F33 #33B22F
tetradic
#2F33B2 #B22F75 #B2AE2F #2FB26D
square
#2F33B2 #B22F75 #B2AE2F #2FB26D
split-complementary
#2F33B2 #B26D2F #75B22F
monochromatic
#151751 #222582 #2F33B2 #4E52D0 #7E81DD

Accessibility & contrast

On white

9.39
#2F33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33B2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33B2#FFFFFF#000000##FFFFFF
##2F33B21.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f33b2;
/* rgb */ color: rgb(47, 51, 178);
/* oklch */ color: oklch(41.3% 0.195 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c6cca',
    500: '#2f33b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f33b2;
$custom-light: #7c6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33b2",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 238.168,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41275,
    "c": 0.19509,
    "h": 272.6
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#2F33B2
secondary
#C6C377
accent
#DD46E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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