#2B225A#2B225A

#2B225A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.097 H 286.3°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#2B225A
RGBrgb(43, 34, 90)
HSLhsl(250, 45%, 24%)
HSVhsv(250, 62%, 35%)
CMYKcmyk(52.2%, 62.2%, 0%, 64.7%)
CIE-LABlab(17.44, 20.82, -32.44)
CIE-LCHlch(17.44, 38.55, 302.69°)
OKLaboklab(29.69% 0.0271 -0.0927)
OKLCHoklch(29.69% 0.097 286.3)
XYZxyz(3.4132, 2.3957, 9.9534)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B225A #515A22
analogous
#22355A #2B225A #47225A
triadic
#2B225A #5A2B22 #225A2B
tetradic
#2B225A #5A2235 #515A22 #225A47
square
#2B225A #5A2235 #515A22 #225A47
split-complementary
#2B225A #5A4722 #355A22
monochromatic
#0B0816 #16112E #2B225A #403386 #5544B3

Accessibility & contrast

On white

14.20
#2B225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2B225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B225A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B225A#FFFFFF#000000##FFFFFF
##2B225A1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#1B2F3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b225a;
/* rgb */ color: rgb(43, 34, 90);
/* oklch */ color: oklch(29.7% 0.097 286.3);
Tailwind
colors: {
  custom: {
    50: '#695d89',
    500: '#2b225a',
    950: '#000000',
  },
}
SCSS
$custom: #2b225a;
$custom-light: #695d89;
$custom-dark: #000000;
JSON
{
  "hex": "#2b225a",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 249.643,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.2969,
    "c": 0.09657,
    "h": 286.3
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#2B225A
secondary
#838E4A
accent
#D553C0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #2B225A

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

Preview Lab → · Contrast checker → · Palette generator →

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