#2F33AE#2F33AE

#2F33AE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.190 H 272.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2F33AE
RGBrgb(47, 51, 174)
HSLhsl(238, 57%, 43%)
HSVhsv(238, 73%, 68%)
CMYKcmyk(73%, 70.7%, 0%, 31.8%)
CIE-LABlab(29.48, 39.95, -65.62)
CIE-LCHlch(29.48, 76.83, 301.34°)
OKLaboklab(40.87% 0.0093 -0.1898)
OKLCHoklch(40.87% 0.19 272.8)
XYZxyz(9.9935, 6.0270, 40.6728)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33AE #AEAA2F
analogous
#2F72AE #2F33AE #6A2FAE
triadic
#2F33AE #AE2F33 #33AE2F
tetradic
#2F33AE #AE2F72 #AEAA2F #2FAE6A
square
#2F33AE #AE2F72 #AEAA2F #2FAE6A
split-complementary
#2F33AE #AE6A2F #72AE2F
monochromatic
#15174E #22257E #2F33AE #4C50CF #7C7FDC

Accessibility & contrast

On white

9.52
#2F33AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F33AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33AE
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33AE#FFFFFF#000000##FFFFFF
##2F33AE1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f33ae;
/* rgb */ color: rgb(47, 51, 174);
/* oklch */ color: oklch(40.9% 0.190 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b6bc7',
    500: '#2f33ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f33ae;
$custom-light: #7b6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33ae",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 238.11,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.19004,
    "h": 272.8
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#2F33AE
secondary
#C4C275
accent
#DC47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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