#2B2A8B#2B2A8B

#2B2A8B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.156 H 275.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#2B2A8B
RGBrgb(43, 42, 139)
HSLhsl(241, 54%, 35%)
HSVhsv(241, 70%, 55%)
CMYKcmyk(69.1%, 69.8%, 0%, 45.5%)
CIE-LABlab(23.78, 32.82, -53.65)
CIE-LCHlch(23.78, 62.89, 301.46°)
OKLaboklab(35.66% 0.015 -0.1549)
OKLCHoklch(35.66% 0.156 275.5)
XYZxyz(6.4829, 4.0330, 24.8579)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A8B #8A8B2A
analogous
#2A598B #2B2A8B #5C2A8B
triadic
#2B2A8B #8B2B2A #2A8B2B
tetradic
#2B2A8B #8B2A59 #8A8B2A #2A8B5C
square
#2B2A8B #8B2A59 #8A8B2A #2A8B5C
split-complementary
#2B2A8B #8B5C2A #598B2A
monochromatic
#0E0E2D #1C1C5C #2B2A8B #3A38BA #6160CF

Accessibility & contrast

On white

11.62
#2B2A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A8B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A8B#FFFFFF#000000##FFFFFF
##2B2A8B1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2a8b;
/* rgb */ color: rgb(43, 42, 139);
/* oklch */ color: oklch(35.7% 0.156 275.5);
Tailwind
colors: {
  custom: {
    50: '#7264ae',
    500: '#2b2a8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a8b;
$custom-light: #7264ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a8b",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 240.619,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35664,
    "c": 0.15564,
    "h": 275.5
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#2B2A8B
secondary
#B4B55C
accent
#DD4BDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B2A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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