#2B2285#2B2285

#2B2285 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.157 H 277.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2285
RGBrgb(43, 34, 133)
HSLhsl(245, 59%, 33%)
HSVhsv(245, 74%, 52%)
CMYKcmyk(67.7%, 74.4%, 0%, 47.8%)
CIE-LABlab(21.40, 35.66, -53.81)
CIE-LCHlch(21.40, 64.56, 303.53°)
OKLaboklab(33.77% 0.0217 -0.1554)
OKLCHoklch(33.77% 0.157 277.9)
XYZxyz(5.8006, 3.3506, 22.5268)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2285 #7C8522
analogous
#224A85 #2B2285 #5D2285
triadic
#2B2285 #852B22 #22852B
tetradic
#2B2285 #85224A #7C8522 #22855D
square
#2B2285 #85224A #7C8522 #22855D
split-complementary
#2B2285 #855D22 #4A8522
monochromatic
#0B0924 #1B1654 #2B2285 #3B2EB6 #5B4FD2

Accessibility & contrast

On white

12.57
#2B2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2285
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2285#FFFFFF#000000##FFFFFF
##2B22851.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2285;
/* rgb */ color: rgb(43, 34, 133);
/* oklch */ color: oklch(33.8% 0.157 277.9);
Tailwind
colors: {
  custom: {
    50: '#715faa',
    500: '#2b2285',
    950: '#000000',
  },
}
SCSS
$custom: #2b2285;
$custom-light: #715faa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2285",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 245.455,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33774,
    "c": 0.15688,
    "h": 277.9
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#2B2285
secondary
#ACB64D
accent
#E245D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2285

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

Preview Lab → · Contrast checker → · Palette generator →

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