#2232A5#2232A5

#2232A5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.183 H 269.1°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2232A5
RGBrgb(34, 50, 165)
HSLhsl(233, 66%, 39%)
HSVhsv(233, 79%, 65%)
CMYKcmyk(79.4%, 69.7%, 0%, 35.3%)
CIE-LABlab(27.67, 36.13, -63.21)
CIE-LCHlch(27.67, 72.81, 299.75°)
OKLaboklab(39.11% -0.0029 -0.183)
OKLCHoklch(39.11% 0.183 269.1)
XYZxyz(8.5895, 5.3369, 36.1674)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2232A5 #A59522
analogous
#2274A5 #2232A5 #5422A5
triadic
#2232A5 #A52232 #32A522
tetradic
#2232A5 #A52274 #A59522 #22A554
square
#2232A5 #A52274 #A59522 #22A554
split-complementary
#2232A5 #A55422 #74A522
monochromatic
#0D1340 #182372 #2232A5 #3044D4 #6372DF

Accessibility & contrast

On white

10.16
#2232A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2232A5
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2232A5#FFFFFF#000000##FFFFFF
##2232A51.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.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: #2232a5;
/* rgb */ color: rgb(34, 50, 165);
/* oklch */ color: oklch(39.1% 0.183 269.1);
Tailwind
colors: {
  custom: {
    50: '#746ac1',
    500: '#2232a5',
    950: '#000000',
  },
}
SCSS
$custom: #2232a5;
$custom-light: #746ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2232a5",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 232.672,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39113,
    "c": 0.18307,
    "h": 269.1
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#2232A5
secondary
#C4B85F
accent
#D43FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2232A5

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

Preview Lab → · Contrast checker → · Palette generator →

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