#2332B1#2332B1

#2332B1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.198 H 269.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2332B1
RGBrgb(35, 50, 177)
HSLhsl(234, 67%, 42%)
HSVhsv(234, 80%, 69%)
CMYKcmyk(80.2%, 71.8%, 0%, 30.6%)
CIE-LABlab(28.93, 40.52, -68.34)
CIE-LCHlch(28.93, 79.45, 300.66°)
OKLaboklab(40.4% -0.0032 -0.198)
OKLCHoklch(40.4% 0.198 269.1)
XYZxyz(9.7668, 5.8117, 42.1935)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2332B1 #B1A223
analogous
#2379B1 #2332B1 #5B23B1
triadic
#2332B1 #B12332 #32B123
tetradic
#2332B1 #B12379 #B1A223 #23B15B
square
#2332B1 #B12379 #B1A223 #23B15B
split-complementary
#2332B1 #B15B23 #79B123
monochromatic
#0F154B #19247E #2332B1 #394AD8 #6C79E2

Accessibility & contrast

On white

9.71
#2332B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2332B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2332B1
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2332B1#FFFFFF#000000##FFFFFF
##2332B11.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2332b1;
/* rgb */ color: rgb(35, 50, 177);
/* oklch */ color: oklch(40.4% 0.198 269.1);
Tailwind
colors: {
  custom: {
    50: '#786aca',
    500: '#2332b1',
    950: '#000000',
  },
}
SCSS
$custom: #2332b1;
$custom-light: #786aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2332b1",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 233.662,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.19801,
    "h": 269.1
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#2332B1
secondary
#C8BE68
accent
#D83EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2332B1

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

Preview Lab → · Contrast checker → · Palette generator →

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