#2233A5#2233A5

#2233A5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.182 H 268.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2233A5
RGBrgb(34, 51, 165)
HSLhsl(232, 66%, 39%)
HSVhsv(232, 79%, 65%)
CMYKcmyk(79.4%, 69.1%, 0%, 35.3%)
CIE-LABlab(27.91, 35.49, -62.82)
CIE-LCHlch(27.91, 72.16, 299.46°)
OKLaboklab(39.28% -0.0033 -0.1819)
OKLCHoklch(39.28% 0.182 268.9)
XYZxyz(8.6327, 5.4234, 36.1819)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2233A5 #A59422
analogous
#2275A5 #2233A5 #5322A5
triadic
#2233A5 #A52233 #33A522
tetradic
#2233A5 #A52275 #A59422 #22A553
square
#2233A5 #A52275 #A59422 #22A553
split-complementary
#2233A5 #A55322 #75A522
monochromatic
#0D1440 #182372 #2233A5 #3045D4 #6373DF

Accessibility & contrast

On white

10.07
#2233A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2233A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2233A5
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2233A5#FFFFFF#000000##FFFFFF
##2233A51.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2233a5;
/* rgb */ color: rgb(34, 51, 165);
/* oklch */ color: oklch(39.3% 0.182 268.9);
Tailwind
colors: {
  custom: {
    50: '#746bc1',
    500: '#2233a5',
    950: '#000000',
  },
}
SCSS
$custom: #2233a5;
$custom-light: #746bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2233a5",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 232.214,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39283,
    "c": 0.18196,
    "h": 268.9
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2233A5

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

Preview Lab → · Contrast checker → · Palette generator →

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