#2B2AA0#2B2AA0

#2B2AA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.183 H 273.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2B2AA0
RGBrgb(43, 42, 160)
HSLhsl(241, 58%, 40%)
HSVhsv(241, 74%, 63%)
CMYKcmyk(73.1%, 73.8%, 0%, 37.3%)
CIE-LABlab(25.88, 40.11, -63.11)
CIE-LCHlch(25.88, 74.78, 302.44°)
OKLaboklab(37.81% 0.0117 -0.1826)
OKLCHoklch(37.81% 0.183 273.7)
XYZxyz(8.1673, 4.7068, 33.7290)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AA0 #9FA02A
analogous
#2A64A0 #2B2AA0 #662AA0
triadic
#2B2AA0 #A02B2A #2AA02B
tetradic
#2B2AA0 #A02A64 #9FA02A #2AA066
square
#2B2AA0 #A02A64 #9FA02A #2AA066
split-complementary
#2B2AA0 #A0662A #64A02A
monochromatic
#11113F #1E1D70 #2B2AA0 #3D3CCC #6D6CD8

Accessibility & contrast

On white

10.82
#2B2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B2AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AA0
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AA0#FFFFFF#000000##FFFFFF
##2B2AA01.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b2aa0;
/* rgb */ color: rgb(43, 42, 160);
/* oklch */ color: oklch(37.8% 0.183 273.7);
Tailwind
colors: {
  custom: {
    50: '#7765bd',
    500: '#2b2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2b2aa0;
$custom-light: #7765bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2aa0",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 240.508,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37807,
    "c": 0.18293,
    "h": 273.7
  },
  "luminance": 0.04708
}

Semantic roles & 50–950 ramp

primary
#2B2AA0
secondary
#BEBF67
accent
#E246E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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