#2233A6#2233A6

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

Color values

HEX#2233A6
RGBrgb(34, 51, 166)
HSLhsl(232, 66%, 39%)
HSVhsv(232, 80%, 65%)
CMYKcmyk(79.5%, 69.3%, 0%, 34.9%)
CIE-LABlab(28.01, 35.86, -63.27)
CIE-LCHlch(28.01, 72.72, 299.54°)
OKLaboklab(39.39% -0.0034 -0.1832)
OKLCHoklch(39.39% 0.183 268.9)
XYZxyz(8.7241, 5.4599, 36.6631)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2233A6 #A69522
analogous
#2275A6 #2233A6 #5322A6
triadic
#2233A6 #A62233 #33A622
tetradic
#2233A6 #A62275 #A69522 #22A653
square
#2233A6 #A62275 #A69522 #22A653
split-complementary
#2233A6 #A65322 #75A622
monochromatic
#0D1440 #182373 #2233A6 #3046D5 #6373DF

Accessibility & contrast

On white

10.04
#2233A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2233A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2233A6
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2233A6#FFFFFF#000000##FFFFFF
##2233A61.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2233a6;
/* rgb */ color: rgb(34, 51, 166);
/* oklch */ color: oklch(39.4% 0.183 268.9);
Tailwind
colors: {
  custom: {
    50: '#756bc2',
    500: '#2233a6',
    950: '#000000',
  },
}
SCSS
$custom: #2233a6;
$custom-light: #756bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2233a6",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 232.273,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.18324,
    "h": 268.9
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#2233A6
secondary
#C4B75F
accent
#D33FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2233A6

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

Preview Lab → · Contrast checker → · Palette generator →

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