#2F33B6#2F33B6

#2F33B6 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.200 H 272.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2F33B6
RGBrgb(47, 51, 182)
HSLhsl(238, 59%, 45%)
HSVhsv(238, 74%, 71%)
CMYKcmyk(74.2%, 72%, 0%, 28.6%)
CIE-LABlab(30.27, 42.69, -69.08)
CIE-LCHlch(30.27, 81.21, 301.72°)
OKLaboklab(41.68% 0.0081 -0.1999)
OKLCHoklch(41.68% 0.2 272.3)
XYZxyz(10.7968, 6.3483, 44.9032)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33B6 #B6B22F
analogous
#2F77B6 #2F33B6 #6E2FB6
triadic
#2F33B6 #B62F33 #33B62F
tetradic
#2F33B6 #B62F77 #B6B22F #2FB66E
square
#2F33B6 #B62F77 #B6B22F #2FB66E
split-complementary
#2F33B6 #B66E2F #77B62F
monochromatic
#161855 #222585 #2F33B6 #5054D2 #8184DE

Accessibility & contrast

On white

9.25
#2F33B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2F33B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33B6
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33B6#FFFFFF#000000##FFFFFF
##2F33B61.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f33b6;
/* rgb */ color: rgb(47, 51, 182);
/* oklch */ color: oklch(41.7% 0.200 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d6ccd',
    500: '#2f33b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f33b6;
$custom-light: #7d6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33b6",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 182
  },
  "hsl": {
    "h": 238.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.20007,
    "h": 272.3
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#2F33B6
secondary
#C7C579
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2F33B6

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

Preview Lab → · Contrast checker → · Palette generator →

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