#2F33B9#2F33B9

#2F33B9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.204 H 272.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2F33B9
RGBrgb(47, 51, 185)
HSLhsl(238, 59%, 45%)
HSVhsv(238, 75%, 73%)
CMYKcmyk(74.6%, 72.4%, 0%, 27.5%)
CIE-LABlab(30.58, 43.71, -70.36)
CIE-LCHlch(30.58, 82.83, 301.85°)
OKLaboklab(41.99% 0.0077 -0.2036)
OKLCHoklch(41.99% 0.204 272.2)
XYZxyz(11.1101, 6.4736, 46.5535)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33B9 #B9B52F
analogous
#2F78B9 #2F33B9 #702FB9
triadic
#2F33B9 #B92F33 #33B92F
tetradic
#2F33B9 #B92F78 #B9B52F #2FB970
square
#2F33B9 #B92F78 #B9B52F #2FB970
split-complementary
#2F33B9 #B9702F #78B92F
monochromatic
#161857 #232688 #2F33B9 #5256D3 #8386DF

Accessibility & contrast

On white

9.15
#2F33B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F33B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33B9
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33B9#FFFFFF#000000##FFFFFF
##2F33B91.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f33b9;
/* rgb */ color: rgb(47, 51, 185);
/* oklch */ color: oklch(42.0% 0.204 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e6ccf',
    500: '#2f33b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f33b9;
$custom-light: #7e6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33b9",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 238.261,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41988,
    "c": 0.20378,
    "h": 272.2
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#2F33B9
secondary
#C9C67B
accent
#DE45E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #2F33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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