#2F33BF#2F33BF

#2F33BF is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.6% C 0.211 H 271.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2F33BF
RGBrgb(47, 51, 191)
HSLhsl(238, 61%, 47%)
HSVhsv(238, 75%, 75%)
CMYKcmyk(75.4%, 73.3%, 0%, 25.1%)
CIE-LABlab(31.19, 45.72, -72.90)
CIE-LCHlch(31.19, 86.05, 302.10°)
OKLaboklab(42.61% 0.0068 -0.211)
OKLCHoklch(42.61% 0.211 271.8)
XYZxyz(11.7569, 6.7323, 49.9600)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33BF #BFBB2F
analogous
#2F7BBF #2F33BF #732FBF
triadic
#2F33BF #BF2F33 #33BF2F
tetradic
#2F33BF #BF2F7B #BFBB2F #2FBF73
square
#2F33BF #BF2F7B #BFBB2F #2FBF73
split-complementary
#2F33BF #BF732F #7BBF2F
monochromatic
#17195D #23268E #2F33BF #5659D5 #8789E1

Accessibility & contrast

On white

8.95
#2F33BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2F33BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33BF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33BF#FFFFFF#000000##FFFFFF
##2F33BF1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f33bf;
/* rgb */ color: rgb(47, 51, 191);
/* oklch */ color: oklch(42.6% 0.211 271.8);
Tailwind
colors: {
  custom: {
    50: '#7f6cd4',
    500: '#2f33bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f33bf;
$custom-light: #7f6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33bf",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 238.333,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42608,
    "c": 0.21112,
    "h": 271.8
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#2F33BF
secondary
#CBC97F
accent
#DF44E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F33BF

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

Preview Lab → · Contrast checker → · Palette generator →

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