#2233A7#2233A7

#2233A7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.185 H 268.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2233A7
RGBrgb(34, 51, 167)
HSLhsl(232, 66%, 39%)
HSVhsv(232, 80%, 65%)
CMYKcmyk(79.6%, 69.5%, 0%, 34.5%)
CIE-LABlab(28.11, 36.23, -63.71)
CIE-LCHlch(28.11, 73.29, 299.62°)
OKLaboklab(39.49% -0.0035 -0.1845)
OKLCHoklch(39.49% 0.185 268.9)
XYZxyz(8.8162, 5.4967, 37.1481)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2233A7 #A79622
analogous
#2276A7 #2233A7 #5422A7
triadic
#2233A7 #A72233 #33A722
tetradic
#2233A7 #A72276 #A79622 #22A754
square
#2233A7 #A72276 #A79622 #22A754
split-complementary
#2233A7 #A75422 #76A722
monochromatic
#0D1441 #182374 #2233A7 #3146D5 #6474DF

Accessibility & contrast

On white

10.00
#2233A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2233A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2233A7
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2233A7#FFFFFF#000000##FFFFFF
##2233A71.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2233a7;
/* rgb */ color: rgb(34, 51, 167);
/* oklch */ color: oklch(39.5% 0.185 268.9);
Tailwind
colors: {
  custom: {
    50: '#756bc2',
    500: '#2233a7',
    950: '#000000',
  },
}
SCSS
$custom: #2233a7;
$custom-light: #756bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2233a7",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 232.331,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.18453,
    "h": 268.9
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#2233A7
secondary
#C5B860
accent
#D33FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2233A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2233A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva