#2232A0#2232A0

#2232A0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.177 H 269.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2232A0
RGBrgb(34, 50, 160)
HSLhsl(232, 65%, 38%)
HSVhsv(232, 79%, 63%)
CMYKcmyk(78.8%, 68.8%, 0%, 37.3%)
CIE-LABlab(27.18, 34.30, -60.99)
CIE-LCHlch(27.18, 69.97, 299.35°)
OKLaboklab(38.61% -0.0024 -0.1766)
OKLCHoklch(38.61% 0.177 269.2)
XYZxyz(8.1433, 5.1584, 33.8174)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2232A0 #A09022
analogous
#2271A0 #2232A0 #5122A0
triadic
#2232A0 #A02232 #32A022
tetradic
#2232A0 #A02271 #A09022 #22A051
square
#2232A0 #A02271 #A09022 #22A051
split-complementary
#2232A0 #A05122 #71A022
monochromatic
#0D123B #17226E #2232A0 #2D42D2 #5F6FDD

Accessibility & contrast

On white

10.34
#2232A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2232A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2232A0
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2232A0#FFFFFF#000000##FFFFFF
##2232A01.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2232a0;
/* rgb */ color: rgb(34, 50, 160);
/* oklch */ color: oklch(38.6% 0.177 269.2);
Tailwind
colors: {
  custom: {
    50: '#736abd',
    500: '#2232a0',
    950: '#000000',
  },
}
SCSS
$custom: #2232a0;
$custom-light: #736abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2232a0",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 160
  },
  "hsl": {
    "h": 232.381,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38607,
    "c": 0.1766,
    "h": 269.2
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#2232A0
secondary
#C2B55C
accent
#D340E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #2232A0

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

Preview Lab → · Contrast checker → · Palette generator →

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