#2F33CA#2F33CA

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

Color values

HEX#2F33CA
RGBrgb(47, 51, 202)
HSLhsl(238, 62%, 49%)
HSVhsv(238, 77%, 79%)
CMYKcmyk(76.7%, 74.8%, 0%, 20.8%)
CIE-LABlab(32.34, 49.36, -77.45)
CIE-LCHlch(32.34, 91.84, 302.51°)
OKLaboklab(43.76% 0.0049 -0.2242)
OKLCHoklch(43.76% 0.224 271.3)
XYZxyz(13.0132, 7.2348, 56.5763)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33CA #CAC62F
analogous
#2F81CA #2F33CA #792FCA
triadic
#2F33CA #CA2F33 #33CA2F
tetradic
#2F33CA #CA2F81 #CAC62F #2FCA79
square
#2F33CA #CA2F81 #CAC62F #2FCA79
split-complementary
#2F33CA #CA792F #81CA2F
monochromatic
#181A67 #232698 #2F33CA #5D60D9 #8F91E5

Accessibility & contrast

On white

8.58
#2F33CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2F33CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33CA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33CA#FFFFFF#000000##FFFFFF
##2F33CA1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f33ca;
/* rgb */ color: rgb(47, 51, 202);
/* oklch */ color: oklch(43.8% 0.224 271.3);
Tailwind
colors: {
  custom: {
    50: '#826ddc',
    500: '#2f33ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f33ca;
$custom-light: #826ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33ca",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 238.452,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.2243,
    "h": 271.3
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#2F33CA
secondary
#CFCD86
accent
#E142E5
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2F33CA

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

Preview Lab → · Contrast checker → · Palette generator →

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