#2B2A7D#2B2A7D

#2B2A7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.136 H 277.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2B2A7D
RGBrgb(43, 42, 125)
HSLhsl(241, 50%, 33%)
HSVhsv(241, 66%, 49%)
CMYKcmyk(65.6%, 66.4%, 0%, 51%)
CIE-LABlab(22.48, 27.83, -46.99)
CIE-LCHlch(22.48, 54.61, 300.64°)
OKLaboklab(34.32% 0.0166 -0.1354)
OKLCHoklch(34.32% 0.136 277)
XYZxyz(5.5247, 3.6497, 19.8114)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A7D #7C7D2A
analogous
#2A527D #2B2A7D #542A7D
triadic
#2B2A7D #7D2B2A #2A7D2B
tetradic
#2B2A7D #7D2A52 #7C7D2A #2A7D54
square
#2B2A7D #7D2A52 #7C7D2A #2A7D54
split-complementary
#2B2A7D #7D542A #527D2A
monochromatic
#0B0B21 #1B1B4F #2B2A7D #3B39AB #5B5AC8

Accessibility & contrast

On white

12.14
#2B2A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2A7D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A7D#FFFFFF#000000##FFFFFF
##2B2A7D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2a7d;
/* rgb */ color: rgb(43, 42, 125);
/* oklch */ color: oklch(34.3% 0.136 277.0);
Tailwind
colors: {
  custom: {
    50: '#6f64a3',
    500: '#2b2a7d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a7d;
$custom-light: #6f64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a7d",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 240.723,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34318,
    "c": 0.13642,
    "h": 277
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#2B2A7D
secondary
#ACAD56
accent
#D94FD8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2B2A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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