#2232A9#2232A9

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

Color values

HEX#2232A9
RGBrgb(34, 50, 169)
HSLhsl(233, 67%, 40%)
HSVhsv(233, 80%, 66%)
CMYKcmyk(79.9%, 70.4%, 0%, 33.7%)
CIE-LABlab(28.07, 37.58, -64.96)
CIE-LCHlch(28.07, 75.05, 300.05°)
OKLaboklab(39.52% -0.0032 -0.1882)
OKLCHoklch(39.52% 0.188 269)
XYZxyz(8.9593, 5.4848, 38.1149)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2232A9 #A99922
analogous
#2275A9 #2232A9 #5622A9
triadic
#2232A9 #A92232 #32A922
tetradic
#2232A9 #A92275 #A99922 #22A956
square
#2232A9 #A92275 #A99922 #22A956
split-complementary
#2232A9 #A95622 #75A922
monochromatic
#0D1443 #182376 #2232A9 #3246D6 #6574E0

Accessibility & contrast

On white

10.01
#2232A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2232A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2232A9
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2232A9#FFFFFF#000000##FFFFFF
##2232A91.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)
#0049AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2232a9;
/* rgb */ color: rgb(34, 50, 169);
/* oklch */ color: oklch(39.5% 0.188 269.0);
Tailwind
colors: {
  custom: {
    50: '#756ac4',
    500: '#2232a9',
    950: '#000000',
  },
}
SCSS
$custom: #2232a9;
$custom-light: #756ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2232a9",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 232.889,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39523,
    "c": 0.1882,
    "h": 269
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#2232A9
secondary
#C5BA61
accent
#D53EE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2232A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2232A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva