#2F33C9#2F33C9

#2F33C9 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.223 H 271.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2F33C9
RGBrgb(47, 51, 201)
HSLhsl(238, 62%, 49%)
HSVhsv(238, 77%, 79%)
CMYKcmyk(76.6%, 74.6%, 0%, 21.2%)
CIE-LABlab(32.23, 49.03, -77.04)
CIE-LCHlch(32.23, 91.32, 302.47°)
OKLaboklab(43.66% 0.0051 -0.2231)
OKLCHoklch(43.66% 0.223 271.3)
XYZxyz(12.8952, 7.1876, 55.9548)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33C9 #C9C52F
analogous
#2F80C9 #2F33C9 #782FC9
triadic
#2F33C9 #C92F33 #33C92F
tetradic
#2F33C9 #C92F80 #C9C52F #2FC978
square
#2F33C9 #C92F80 #C9C52F #2FC978
split-complementary
#2F33C9 #C9782F #80C92F
monochromatic
#181A66 #232697 #2F33C9 #5C5FD9 #8E90E5

Accessibility & contrast

On white

8.61
#2F33C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F33C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33C9
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33C9#FFFFFF#000000##FFFFFF
##2F33C91.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0044C6
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f33c9;
/* rgb */ color: rgb(47, 51, 201);
/* oklch */ color: oklch(43.7% 0.223 271.3);
Tailwind
colors: {
  custom: {
    50: '#816ddb',
    500: '#2f33c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f33c9;
$custom-light: #816ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33c9",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 238.442,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43656,
    "c": 0.22312,
    "h": 271.3
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#2F33C9
secondary
#CFCD85
accent
#E143E5
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2F33C9

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

Preview Lab → · Contrast checker → · Palette generator →

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