#2232A8#2232A8

#2232A8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.187 H 269.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2232A8
RGBrgb(34, 50, 168)
HSLhsl(233, 66%, 40%)
HSVhsv(233, 80%, 66%)
CMYKcmyk(79.8%, 70.2%, 0%, 34.1%)
CIE-LABlab(27.97, 37.22, -64.53)
CIE-LCHlch(27.97, 74.49, 299.98°)
OKLaboklab(39.42% -0.0031 -0.1869)
OKLCHoklch(39.42% 0.187 269)
XYZxyz(8.8657, 5.4474, 37.6224)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2232A8 #A89822
analogous
#2275A8 #2232A8 #5522A8
triadic
#2232A8 #A82232 #32A822
tetradic
#2232A8 #A82275 #A89822 #22A855
square
#2232A8 #A82275 #A89822 #22A855
split-complementary
#2232A8 #A85522 #75A822
monochromatic
#0D1442 #182375 #2232A8 #3245D5 #6573E0

Accessibility & contrast

On white

10.05
#2232A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2232A8
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2232A8#FFFFFF#000000##FFFFFF
##2232A81.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.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: #2232a8;
/* rgb */ color: rgb(34, 50, 168);
/* oklch */ color: oklch(39.4% 0.187 269.0);
Tailwind
colors: {
  custom: {
    50: '#756ac3',
    500: '#2232a8',
    950: '#000000',
  },
}
SCSS
$custom: #2232a8;
$custom-light: #756ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2232a8",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 232.836,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3942,
    "c": 0.18692,
    "h": 269
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#2232A8
secondary
#C5B961
accent
#D53FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2232A8

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

Preview Lab → · Contrast checker → · Palette generator →

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