#2B22AF#2B22AF

#2B22AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.209 H 273.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2B22AF
RGBrgb(43, 34, 175)
HSLhsl(244, 67%, 41%)
HSVhsv(244, 81%, 69%)
CMYKcmyk(75.4%, 80.6%, 0%, 31.4%)
CIE-LABlab(26.02, 49.33, -71.95)
CIE-LCHlch(26.02, 87.24, 304.43°)
OKLaboklab(38.39% 0.012 -0.2082)
OKLCHoklch(38.39% 0.209 273.3)
XYZxyz(9.3036, 4.7518, 40.9760)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22AF #A6AF22
analogous
#225FAF #2B22AF #7122AF
triadic
#2B22AF #AF2B22 #22AF2B
tetradic
#2B22AF #AF225F #A6AF22 #22AF71
square
#2B22AF #AF225F #A6AF22 #22AF71
split-complementary
#2B22AF #AF7122 #5FAF22
monochromatic
#120E49 #1E187C #2B22AF #4136D8 #7169E2

Accessibility & contrast

On white

10.77
#2B22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B22AF
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B22AF#FFFFFF#000000##FFFFFF
##2B22AF1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b22af;
/* rgb */ color: rgb(43, 34, 175);
/* oklch */ color: oklch(38.4% 0.209 273.3);
Tailwind
colors: {
  custom: {
    50: '#7b61c8',
    500: '#2b22af',
    950: '#000000',
  },
}
SCSS
$custom: #2b22af;
$custom-light: #7b61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22af",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 243.83,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.20851,
    "h": 273.3
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#2B22AF
secondary
#C1C865
accent
#EA3DDF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B22AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2B22AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva