#2F33B8#2F33B8

#2F33B8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.203 H 272.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2F33B8
RGBrgb(47, 51, 184)
HSLhsl(238, 59%, 45%)
HSVhsv(238, 74%, 72%)
CMYKcmyk(74.5%, 72.3%, 0%, 27.8%)
CIE-LABlab(30.48, 43.37, -69.94)
CIE-LCHlch(30.48, 82.30, 301.80°)
OKLaboklab(41.89% 0.0078 -0.2024)
OKLCHoklch(41.89% 0.203 272.2)
XYZxyz(11.0049, 6.4315, 45.9995)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33B8 #B8B42F
analogous
#2F78B8 #2F33B8 #6F2FB8
triadic
#2F33B8 #B82F33 #33B82F
tetradic
#2F33B8 #B82F78 #B8B42F #2FB86F
square
#2F33B8 #B82F78 #B8B42F #2FB86F
split-complementary
#2F33B8 #B86F2F #78B82F
monochromatic
#161857 #232587 #2F33B8 #5255D3 #8285DF

Accessibility & contrast

On white

9.18
#2F33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2F33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33B8
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33B8#FFFFFF#000000##FFFFFF
##2F33B81.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f33b8;
/* rgb */ color: rgb(47, 51, 184);
/* oklch */ color: oklch(41.9% 0.203 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d6ccf',
    500: '#2f33b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f33b8;
$custom-light: #7d6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33b8",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 238.248,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.20254,
    "h": 272.2
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#2F33B8
secondary
#C8C67B
accent
#DE45E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2F33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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