#2F33CF#2F33CF

#2F33CF is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.3% C 0.230 H 271.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2F33CF
RGBrgb(47, 51, 207)
HSLhsl(239, 63%, 50%)
HSVhsv(239, 77%, 81%)
CMYKcmyk(77.3%, 75.4%, 0%, 18.8%)
CIE-LABlab(32.87, 50.99, -79.48)
CIE-LCHlch(32.87, 94.43, 302.68°)
OKLaboklab(44.29% 0.0041 -0.2302)
OKLCHoklch(44.29% 0.23 271)
XYZxyz(13.6148, 7.4755, 59.7448)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33CF #CFCB2F
analogous
#2F83CF #2F33CF #7B2FCF
triadic
#2F33CF #CF2F33 #33CF2F
tetradic
#2F33CF #CF2F83 #CFCB2F #2FCF7B
square
#2F33CF #CF2F83 #CFCB2F #2FCF7B
split-complementary
#2F33CF #CF7B2F #83CF2F
monochromatic
#181A6B #24279D #2F33CF #6063DB #9294E6

Accessibility & contrast

On white

8.42
#2F33CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F33CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33CF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33CF#FFFFFF#000000##FFFFFF
##2F33CF1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D3
Deuteranopia (green-blind)
#0045CC
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f33cf;
/* rgb */ color: rgb(47, 51, 207);
/* oklch */ color: oklch(44.3% 0.230 271.0);
Tailwind
colors: {
  custom: {
    50: '#836ddf',
    500: '#2f33cf',
    950: '#000000',
  },
}
SCSS
$custom: #2f33cf;
$custom-light: #836ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33cf",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 207
  },
  "hsl": {
    "h": 238.5,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44293,
    "c": 0.2302,
    "h": 271
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#2F33CF
secondary
#D1CF89
accent
#E242E6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #2F33CF

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

Preview Lab → · Contrast checker → · Palette generator →

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