#2B22AC#2B22AC

#2B22AC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.205 H 273.5°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2B22AC
RGBrgb(43, 34, 172)
HSLhsl(244, 67%, 40%)
HSVhsv(244, 80%, 67%)
CMYKcmyk(75%, 80.2%, 0%, 32.5%)
CIE-LABlab(25.67, 48.39, -70.73)
CIE-LCHlch(25.67, 85.70, 304.38°)
OKLaboklab(38.04% 0.0127 -0.2046)
OKLCHoklch(38.04% 0.205 273.5)
XYZxyz(9.0122, 4.6353, 39.4415)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22AC #A3AC22
analogous
#225EAC #2B22AC #7022AC
triadic
#2B22AC #AC2B22 #22AC2B
tetradic
#2B22AC #AC225E #A3AC22 #22AC70
square
#2B22AC #AC225E #A3AC22 #22AC70
split-complementary
#2B22AC #AC7022 #5EAC22
monochromatic
#110E46 #1E1879 #2B22AC #3F34D7 #6F67E1

Accessibility & contrast

On white

10.90
#2B22AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B22AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B22AC
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B22AC#FFFFFF#000000##FFFFFF
##2B22AC1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b22ac;
/* rgb */ color: rgb(43, 34, 172);
/* oklch */ color: oklch(38.0% 0.205 273.5);
Tailwind
colors: {
  custom: {
    50: '#7b61c6',
    500: '#2b22ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b22ac;
$custom-light: #7b61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22ac",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 243.913,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38044,
    "c": 0.205,
    "h": 273.5
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#2B22AC
secondary
#C0C763
accent
#EA3EDF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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