#2F32B8#2F32B8

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

Color values

HEX#2F32B8
RGBrgb(47, 50, 184)
HSLhsl(239, 59%, 45%)
HSVhsv(239, 74%, 72%)
CMYKcmyk(74.5%, 72.8%, 0%, 27.8%)
CIE-LABlab(30.27, 43.95, -70.28)
CIE-LCHlch(30.27, 82.90, 302.02°)
OKLaboklab(41.74% 0.0083 -0.2034)
OKLCHoklch(41.74% 0.204 272.3)
XYZxyz(10.9617, 6.3451, 45.9851)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32B8 #B8B52F
analogous
#2F76B8 #2F32B8 #702FB8
triadic
#2F32B8 #B82F32 #32B82F
tetradic
#2F32B8 #B82F76 #B8B52F #2FB870
square
#2F32B8 #B82F76 #B8B52F #2FB870
split-complementary
#2F32B8 #B8702F #76B82F
monochromatic
#161857 #232587 #2F32B8 #5254D3 #8284DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F32B8#FFFFFF#000000##FFFFFF
##2F32B81.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)
#004EBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f32b8;
/* rgb */ color: rgb(47, 50, 184);
/* oklch */ color: oklch(41.7% 0.204 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d6bcf',
    500: '#2f32b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f32b8;
$custom-light: #7d6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32b8",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 238.686,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41736,
    "c": 0.20356,
    "h": 272.3
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#2F32B8
secondary
#C8C77B
accent
#DF45E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2F32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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