#2332A5#2332A5

#2332A5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.183 H 269.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2332A5
RGBrgb(35, 50, 165)
HSLhsl(233, 65%, 39%)
HSVhsv(233, 79%, 65%)
CMYKcmyk(78.8%, 69.7%, 0%, 35.3%)
CIE-LABlab(27.72, 36.22, -63.13)
CIE-LCHlch(27.72, 72.78, 299.84°)
OKLaboklab(39.16% -0.0019 -0.1828)
OKLCHoklch(39.16% 0.183 269.4)
XYZxyz(8.6229, 5.3542, 36.1690)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2332A5 #A59623
analogous
#2373A5 #2332A5 #5523A5
triadic
#2332A5 #A52332 #32A523
tetradic
#2332A5 #A52373 #A59623 #23A555
square
#2332A5 #A52373 #A59623 #23A555
split-complementary
#2332A5 #A55523 #73A523
monochromatic
#0E1340 #182373 #2332A5 #3244D3 #6472DE

Accessibility & contrast

On white

10.14
#2332A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2332A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2332A5
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2332A5#FFFFFF#000000##FFFFFF
##2332A51.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2332a5;
/* rgb */ color: rgb(35, 50, 165);
/* oklch */ color: oklch(39.2% 0.183 269.4);
Tailwind
colors: {
  custom: {
    50: '#756ac1',
    500: '#2332a5',
    950: '#000000',
  },
}
SCSS
$custom: #2332a5;
$custom-light: #756ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2332a5",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 233.077,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3916,
    "c": 0.18281,
    "h": 269.4
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#2332A5
secondary
#C4B860
accent
#D540E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2332A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2332A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva