#2332B2#2332B2

#2332B2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.199 H 269.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2332B2
RGBrgb(35, 50, 178)
HSLhsl(234, 67%, 42%)
HSVhsv(234, 80%, 70%)
CMYKcmyk(80.3%, 71.9%, 0%, 30.2%)
CIE-LABlab(29.04, 40.87, -68.77)
CIE-LCHlch(29.04, 80.00, 300.73°)
OKLaboklab(40.5% -0.0033 -0.1992)
OKLCHoklch(40.5% 0.199 269.1)
XYZxyz(9.8669, 5.8517, 42.7203)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2332B2 #B2A323
analogous
#237AB2 #2332B2 #5B23B2
triadic
#2332B2 #B22332 #32B223
tetradic
#2332B2 #B2237A #B2A323 #23B25B
square
#2332B2 #B2237A #B2A323 #23B25B
split-complementary
#2332B2 #B25B23 #7AB223
monochromatic
#0F154C #19247F #2332B2 #3A4BD8 #6D79E2

Accessibility & contrast

On white

9.67
#2332B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2332B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2332B2
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2332B2#FFFFFF#000000##FFFFFF
##2332B21.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2332b2;
/* rgb */ color: rgb(35, 50, 178);
/* oklch */ color: oklch(40.5% 0.199 269.1);
Tailwind
colors: {
  custom: {
    50: '#786bca',
    500: '#2332b2',
    950: '#000000',
  },
}
SCSS
$custom: #2332b2;
$custom-light: #786bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2332b2",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 233.706,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40503,
    "c": 0.19926,
    "h": 269.1
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#2332B2
secondary
#C9BF68
accent
#D83EEA
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2332B2

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

Preview Lab → · Contrast checker → · Palette generator →

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