#2F33E2#2F33E2

#2F33E2 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.3% C 0.252 H 270.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2F33E2
RGBrgb(47, 51, 226)
HSLhsl(239, 76%, 54%)
HSVhsv(239, 79%, 89%)
CMYKcmyk(79.2%, 77.4%, 0%, 11.4%)
CIE-LABlab(34.93, 57.02, -87.02)
CIE-LCHlch(34.93, 104.04, 303.24°)
OKLaboklab(46.35% 0.0007 -0.252)
OKLCHoklch(46.35% 0.252 270.2)
XYZxyz(16.0789, 8.4611, 72.7225)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33E2 #E2DE2F
analogous
#2F8CE2 #2F33E2 #842FE2
triadic
#2F33E2 #E22F33 #33E22F
tetradic
#2F33E2 #E22F8C #E2DE2F #2FE284
square
#2F33E2 #E22F8C #E2DE2F #2FE284
split-complementary
#2F33E2 #E2842F #8CE22F
monochromatic
#121584 #1A1DBA #2F33E2 #6568E9 #9A9CF1

Accessibility & contrast

On white

7.80
#2F33E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2F33E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33E2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33E2#FFFFFF#000000##FFFFFF
##2F33E21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#0049DF
Tritanopia (blue-blind)
#00698A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f33e2;
/* rgb */ color: rgb(47, 51, 226);
/* oklch */ color: oklch(46.3% 0.252 270.2);
Tailwind
colors: {
  custom: {
    50: '#876eed',
    500: '#2f33e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f33e2;
$custom-light: #876eed;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33e2",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 226
  },
  "hsl": {
    "h": 238.659,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46347,
    "c": 0.25202,
    "h": 270.2
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#2F33E2
secondary
#DDDB90
accent
#EE36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2F33E2

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

Preview Lab → · Contrast checker → · Palette generator →

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