#2B2A8D#2B2A8D

#2B2A8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.158 H 275.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2B2A8D
RGBrgb(43, 42, 141)
HSLhsl(241, 54%, 36%)
HSVhsv(241, 70%, 55%)
CMYKcmyk(69.5%, 70.2%, 0%, 44.7%)
CIE-LABlab(23.97, 33.53, -54.58)
CIE-LCHlch(23.97, 64.05, 301.56°)
OKLaboklab(35.86% 0.0147 -0.1576)
OKLCHoklch(35.86% 0.158 275.3)
XYZxyz(6.6304, 4.0920, 25.6346)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A8D #8C8D2A
analogous
#2A5A8D #2B2A8D #5C2A8D
triadic
#2B2A8D #8D2B2A #2A8D2B
tetradic
#2B2A8D #8D2A5A #8C8D2A #2A8D5C
square
#2B2A8D #8D2A5A #8C8D2A #2A8D5C
split-complementary
#2B2A8D #8D5C2A #5A8D2A
monochromatic
#0E0E2F #1D1C5E #2B2A8D #3938BC #6261D0

Accessibility & contrast

On white

11.55
#2B2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A8D
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A8D#FFFFFF#000000##FFFFFF
##2B2A8D1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2a8d;
/* rgb */ color: rgb(43, 42, 141);
/* oklch */ color: oklch(35.9% 0.158 275.3);
Tailwind
colors: {
  custom: {
    50: '#7364af',
    500: '#2b2a8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a8d;
$custom-light: #7364af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a8d",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 240.606,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35862,
    "c": 0.15832,
    "h": 275.3
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#2B2A8D
secondary
#B5B65D
accent
#DD4ADC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B2A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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