#2F32B9#2F32B9

#2F32B9 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.8% C 0.205 H 272.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2F32B9
RGBrgb(47, 50, 185)
HSLhsl(239, 59%, 45%)
HSVhsv(239, 75%, 73%)
CMYKcmyk(74.6%, 73%, 0%, 27.5%)
CIE-LABlab(30.37, 44.29, -70.71)
CIE-LCHlch(30.37, 83.43, 302.06°)
OKLaboklab(41.84% 0.0082 -0.2046)
OKLCHoklch(41.84% 0.205 272.3)
XYZxyz(11.0669, 6.3872, 46.5391)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32B9 #B9B62F
analogous
#2F77B9 #2F32B9 #712FB9
triadic
#2F32B9 #B92F32 #32B92F
tetradic
#2F32B9 #B92F77 #B9B62F #2FB971
square
#2F32B9 #B92F77 #B9B62F #2FB971
split-complementary
#2F32B9 #B9712F #77B92F
monochromatic
#161857 #232588 #2F32B9 #5255D3 #8385DF

Accessibility & contrast

On white

9.22
#2F32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F32B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32B9
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32B9#FFFFFF#000000##FFFFFF
##2F32B91.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f32b9;
/* rgb */ color: rgb(47, 50, 185);
/* oklch */ color: oklch(41.8% 0.205 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e6bcf',
    500: '#2f32b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f32b9;
$custom-light: #7e6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32b9",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 238.696,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41839,
    "c": 0.20479,
    "h": 272.3
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#2F32B9
secondary
#C9C77B
accent
#DF45E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #2F32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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