#2332A8#2332A8

#2332A8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.187 H 269.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2332A8
RGBrgb(35, 50, 168)
HSLhsl(233, 66%, 40%)
HSVhsv(233, 79%, 66%)
CMYKcmyk(79.2%, 70.2%, 0%, 34.1%)
CIE-LABlab(28.02, 37.30, -64.45)
CIE-LCHlch(28.02, 74.47, 300.06°)
OKLaboklab(39.47% -0.0022 -0.1866)
OKLCHoklch(39.47% 0.187 269.3)
XYZxyz(8.8992, 5.4647, 37.6240)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2332A8 #A89923
analogous
#2375A8 #2332A8 #5723A8
triadic
#2332A8 #A82332 #32A823
tetradic
#2332A8 #A82375 #A89923 #23A857
square
#2332A8 #A82375 #A89923 #23A857
split-complementary
#2332A8 #A85723 #75A823
monochromatic
#0E1443 #182375 #2332A8 #3446D5 #6674DF

Accessibility & contrast

On white

10.03
#2332A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2332A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2332A8
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2332A8#FFFFFF#000000##FFFFFF
##2332A81.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2332a8;
/* rgb */ color: rgb(35, 50, 168);
/* oklch */ color: oklch(39.5% 0.187 269.3);
Tailwind
colors: {
  custom: {
    50: '#756ac3',
    500: '#2332a8',
    950: '#000000',
  },
}
SCSS
$custom: #2332a8;
$custom-light: #756ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2332a8",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 233.233,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39466,
    "c": 0.18666,
    "h": 269.3
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#2332A8
secondary
#C5BA62
accent
#D53FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2332A8

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

Preview Lab → · Contrast checker → · Palette generator →

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