#2F32A2#2F32A2

#2F32A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.176 H 273.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2F32A2
RGBrgb(47, 50, 162)
HSLhsl(238, 55%, 41%)
HSVhsv(238, 71%, 64%)
CMYKcmyk(71%, 69.1%, 0%, 36.5%)
CIE-LABlab(28.10, 36.40, -60.68)
CIE-LCHlch(28.10, 70.76, 300.96°)
OKLaboklab(39.52% 0.0115 -0.1754)
OKLCHoklch(39.52% 0.176 273.7)
XYZxyz(8.8323, 5.4933, 34.7703)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F32A2 #A29F2F
analogous
#2F6BA2 #2F32A2 #652FA2
triadic
#2F32A2 #A22F32 #32A22F
tetradic
#2F32A2 #A22F6B #A29F2F #2FA265
square
#2F32A2 #A22F6B #A29F2F #2FA265
split-complementary
#2F32A2 #A2652F #6BA22F
monochromatic
#131543 #212373 #2F32A2 #4549C9 #7577D7

Accessibility & contrast

On white

10.01
#2F32A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F32A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F32A2
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F32A2#FFFFFF#000000##FFFFFF
##2F32A21.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f32a2;
/* rgb */ color: rgb(47, 50, 162);
/* oklch */ color: oklch(39.5% 0.176 273.7);
Tailwind
colors: {
  custom: {
    50: '#786abf',
    500: '#2f32a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f32a2;
$custom-light: #786abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f32a2",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 238.435,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39523,
    "c": 0.17573,
    "h": 273.7
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#2F32A2
secondary
#BFBD6E
accent
#DA49DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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