#2232BC#2232BC

#2232BC is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.5% C 0.212 H 268.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2232BC
RGBrgb(34, 50, 188)
HSLhsl(234, 69%, 44%)
HSVhsv(234, 82%, 74%)
CMYKcmyk(81.9%, 73.4%, 0%, 26.3%)
CIE-LABlab(30.04, 44.30, -73.05)
CIE-LCHlch(30.04, 85.43, 301.23°)
OKLaboklab(41.52% -0.0054 -0.2117)
OKLCHoklch(41.52% 0.212 268.5)
XYZxyz(10.8743, 6.2508, 48.2006)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2232BC #BCAC22
analogous
#227FBC #2232BC #5F22BC
triadic
#2232BC #BC2232 #32BC22
tetradic
#2232BC #BC227F #BCAC22 #22BC5F
square
#2232BC #BC227F #BCAC22 #22BC5F
split-complementary
#2232BC #BC5F22 #7FBC22
monochromatic
#0F1654 #192488 #2232BC #3F4FDC #737FE6

Accessibility & contrast

On white

9.33
#2232BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2232BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2232BC
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2232BC#FFFFFF#000000##FFFFFF
##2232BC1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2232bc;
/* rgb */ color: rgb(34, 50, 188);
/* oklch */ color: oklch(41.5% 0.212 268.5);
Tailwind
colors: {
  custom: {
    50: '#7a6bd2',
    500: '#2232bc',
    950: '#000000',
  },
}
SCSS
$custom: #2232bc;
$custom-light: #7a6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2232bc",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 233.766,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41519,
    "c": 0.21177,
    "h": 268.5
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#2232BC
secondary
#CDC36D
accent
#DA3CEC
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2232BC

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

Preview Lab → · Contrast checker → · Palette generator →

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