#2233A8#2233A8

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

Color values

HEX#2233A8
RGBrgb(34, 51, 168)
HSLhsl(232, 66%, 40%)
HSVhsv(232, 80%, 66%)
CMYKcmyk(79.8%, 69.6%, 0%, 34.1%)
CIE-LABlab(28.20, 36.59, -64.15)
CIE-LCHlch(28.20, 73.85, 299.70°)
OKLaboklab(39.59% -0.0036 -0.1858)
OKLCHoklch(39.59% 0.186 268.9)
XYZxyz(8.9090, 5.5339, 37.6368)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2233A8 #A89722
analogous
#2276A8 #2233A8 #5422A8
triadic
#2233A8 #A82233 #33A822
tetradic
#2233A8 #A82276 #A89722 #22A854
square
#2233A8 #A82276 #A89722 #22A854
split-complementary
#2233A8 #A85422 #76A822
monochromatic
#0D1442 #182475 #2233A8 #3247D5 #6574E0

Accessibility & contrast

On white

9.97
#2233A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2233A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2233A8
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2233A8#FFFFFF#000000##FFFFFF
##2233A81.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2233a8;
/* rgb */ color: rgb(34, 51, 168);
/* oklch */ color: oklch(39.6% 0.186 268.9);
Tailwind
colors: {
  custom: {
    50: '#756bc3',
    500: '#2233a8',
    950: '#000000',
  },
}
SCSS
$custom: #2233a8;
$custom-light: #756bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2233a8",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 232.388,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39588,
    "c": 0.18582,
    "h": 268.9
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#2233A8
secondary
#C5B861
accent
#D43FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2233A8

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

Preview Lab → · Contrast checker → · Palette generator →

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