#2F33BE#2F33BE

#2F33BE is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.5% C 0.210 H 271.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2F33BE
RGBrgb(47, 51, 190)
HSLhsl(238, 60%, 46%)
HSVhsv(238, 75%, 75%)
CMYKcmyk(75.3%, 73.2%, 0%, 25.5%)
CIE-LABlab(31.09, 45.39, -72.48)
CIE-LCHlch(31.09, 85.52, 302.06°)
OKLaboklab(42.5% 0.0069 -0.2098)
OKLCHoklch(42.5% 0.21 271.9)
XYZxyz(11.6472, 6.6885, 49.3824)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33BE #BEBA2F
analogous
#2F7BBE #2F33BE #732FBE
triadic
#2F33BE #BE2F33 #33BE2F
tetradic
#2F33BE #BE2F7B #BEBA2F #2FBE73
square
#2F33BE #BE2F7B #BEBA2F #2FBE73
split-complementary
#2F33BE #BE732F #7BBE2F
monochromatic
#17195C #23268D #2F33BE #5559D5 #8689E1

Accessibility & contrast

On white

8.98
#2F33BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2F33BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33BE
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33BE#FFFFFF#000000##FFFFFF
##2F33BE1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0042BC
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f33be;
/* rgb */ color: rgb(47, 51, 190);
/* oklch */ color: oklch(42.5% 0.210 271.9);
Tailwind
colors: {
  custom: {
    50: '#7f6cd3',
    500: '#2f33be',
    950: '#000000',
  },
}
SCSS
$custom: #2f33be;
$custom-light: #7f6cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33be",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 190
  },
  "hsl": {
    "h": 238.322,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42504,
    "c": 0.2099,
    "h": 271.9
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#2F33BE
secondary
#CBC97E
accent
#DF44E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F33BE

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

Preview Lab → · Contrast checker → · Palette generator →

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