#2232A6#2232A6

#2232A6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.184 H 269.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2232A6
RGBrgb(34, 50, 166)
HSLhsl(233, 66%, 39%)
HSVhsv(233, 80%, 65%)
CMYKcmyk(79.5%, 69.9%, 0%, 34.9%)
CIE-LABlab(27.77, 36.49, -63.65)
CIE-LCHlch(27.77, 73.37, 299.83°)
OKLaboklab(39.22% -0.0029 -0.1843)
OKLCHoklch(39.22% 0.184 269.1)
XYZxyz(8.6809, 5.3735, 36.6487)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2232A6 #A69622
analogous
#2274A6 #2232A6 #5422A6
triadic
#2232A6 #A62232 #32A622
tetradic
#2232A6 #A62274 #A69622 #22A654
square
#2232A6 #A62274 #A69622 #22A654
split-complementary
#2232A6 #A65422 #74A622
monochromatic
#0D1340 #182373 #2232A6 #3044D5 #6372DF

Accessibility & contrast

On white

10.12
#2232A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2232A6
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2232A6#FFFFFF#000000##FFFFFF
##2232A61.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2232a6;
/* rgb */ color: rgb(34, 50, 166);
/* oklch */ color: oklch(39.2% 0.184 269.1);
Tailwind
colors: {
  custom: {
    50: '#756ac2',
    500: '#2232a6',
    950: '#000000',
  },
}
SCSS
$custom: #2232a6;
$custom-light: #756ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2232a6",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 232.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39215,
    "c": 0.18436,
    "h": 269.1
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2232A6

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

Preview Lab → · Contrast checker → · Palette generator →

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