#2B2290#2B2290

#2B2290 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.171 H 276.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2B2290
RGBrgb(43, 34, 144)
HSLhsl(245, 62%, 35%)
HSVhsv(245, 76%, 56%)
CMYKcmyk(70.1%, 76.4%, 0%, 43.5%)
CIE-LABlab(22.55, 39.35, -58.78)
CIE-LCHlch(22.55, 70.73, 303.80°)
OKLaboklab(34.94% 0.0193 -0.1699)
OKLCHoklch(34.94% 0.171 276.5)
XYZxyz(6.6007, 3.6707, 26.7408)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2290 #879022
analogous
#225090 #2B2290 #622290
triadic
#2B2290 #902B22 #22902B
tetradic
#2B2290 #902250 #879022 #229062
square
#2B2290 #902250 #879022 #229062
split-complementary
#2B2290 #906222 #509022
monochromatic
#0D0B2D #1C165E #2B2290 #3A2EC2 #6055D7

Accessibility & contrast

On white

12.11
#2B2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2290
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2290#FFFFFF#000000##FFFFFF
##2B22901.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2290;
/* rgb */ color: rgb(43, 34, 144);
/* oklch */ color: oklch(34.9% 0.171 276.5);
Tailwind
colors: {
  custom: {
    50: '#745fb2',
    500: '#2b2290',
    950: '#000000',
  },
}
SCSS
$custom: #2b2290;
$custom-light: #745fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2290",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 244.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34939,
    "c": 0.17096,
    "h": 276.5
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#2B2290
secondary
#B2BB53
accent
#E543D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2290

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

Preview Lab → · Contrast checker → · Palette generator →

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