#2F33C7#2F33C7

#2F33C7 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.4% C 0.221 H 271.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2F33C7
RGBrgb(47, 51, 199)
HSLhsl(238, 62%, 48%)
HSVhsv(238, 76%, 78%)
CMYKcmyk(76.4%, 74.4%, 0%, 22%)
CIE-LABlab(32.02, 48.38, -76.22)
CIE-LCHlch(32.02, 90.28, 302.40°)
OKLaboklab(43.45% 0.0054 -0.2207)
OKLCHoklch(43.45% 0.221 271.4)
XYZxyz(12.6614, 7.0941, 54.7238)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33C7 #C7C32F
analogous
#2F7FC7 #2F33C7 #772FC7
triadic
#2F33C7 #C72F33 #33C72F
tetradic
#2F33C7 #C72F7F #C7C32F #2FC777
square
#2F33C7 #C72F7F #C7C32F #2FC777
split-complementary
#2F33C7 #C7772F #7FC72F
monochromatic
#181A64 #232695 #2F33C7 #5B5ED8 #8C8FE4

Accessibility & contrast

On white

8.68
#2F33C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F33C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33C7
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33C7#FFFFFF#000000##FFFFFF
##2F33C71.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#0044C4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f33c7;
/* rgb */ color: rgb(47, 51, 199);
/* oklch */ color: oklch(43.4% 0.221 271.4);
Tailwind
colors: {
  custom: {
    50: '#816cd9',
    500: '#2f33c7',
    950: '#000000',
  },
}
SCSS
$custom: #2f33c7;
$custom-light: #816cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33c7",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 238.421,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43445,
    "c": 0.22074,
    "h": 271.4
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#2F33C7
secondary
#CECC84
accent
#E143E5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2F33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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