#2F33B4#2F33B4

#2F33B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.198 H 272.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2F33B4
RGBrgb(47, 51, 180)
HSLhsl(238, 59%, 45%)
HSVhsv(238, 74%, 71%)
CMYKcmyk(73.9%, 71.7%, 0%, 29.4%)
CIE-LABlab(30.07, 42.01, -68.23)
CIE-LCHlch(30.07, 80.12, 301.62°)
OKLaboklab(41.48% 0.0084 -0.1974)
OKLCHoklch(41.48% 0.198 272.4)
XYZxyz(10.5916, 6.2662, 43.8225)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33B4 #B4B02F
analogous
#2F76B4 #2F33B4 #6D2FB4
triadic
#2F33B4 #B42F33 #33B42F
tetradic
#2F33B4 #B42F76 #B4B02F #2FB46D
square
#2F33B4 #B42F76 #B4B02F #2FB46D
split-complementary
#2F33B4 #B46D2F #76B42F
monochromatic
#161853 #222583 #2F33B4 #4F53D1 #8082DE

Accessibility & contrast

On white

9.32
#2F33B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F33B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33B4
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33B4#FFFFFF#000000##FFFFFF
##2F33B41.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f33b4;
/* rgb */ color: rgb(47, 51, 180);
/* oklch */ color: oklch(41.5% 0.198 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c6ccc',
    500: '#2f33b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f33b4;
$custom-light: #7c6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33b4",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 238.195,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.19758,
    "h": 272.4
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#2F33B4
secondary
#C7C478
accent
#DD46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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