#2B2A8F#2B2A8F

#2B2A8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.161 H 275.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2B2A8F
RGBrgb(43, 42, 143)
HSLhsl(241, 55%, 36%)
HSVhsv(241, 71%, 56%)
CMYKcmyk(69.9%, 70.6%, 0%, 43.9%)
CIE-LABlab(24.17, 34.23, -55.50)
CIE-LCHlch(24.17, 65.21, 301.67°)
OKLaboklab(36.06% 0.0144 -0.1603)
OKLCHoklch(36.06% 0.161 275.1)
XYZxyz(6.7805, 4.1521, 26.4254)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A8F #8E8F2A
analogous
#2A5C8F #2B2A8F #5E2A8F
triadic
#2B2A8F #8F2B2A #2A8F2B
tetradic
#2B2A8F #8F2A5C #8E8F2A #2A8F5E
square
#2B2A8F #8F2A5C #8E8F2A #2A8F5E
split-complementary
#2B2A8F #8F5E2A #5C8F2A
monochromatic
#0F0E30 #1D1C60 #2B2A8F #3938BE #6362D1

Accessibility & contrast

On white

11.47
#2B2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A8F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A8F#FFFFFF#000000##FFFFFF
##2B2A8F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2a8f;
/* rgb */ color: rgb(43, 42, 143);
/* oklch */ color: oklch(36.1% 0.161 275.1);
Tailwind
colors: {
  custom: {
    50: '#7364b1',
    500: '#2b2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a8f;
$custom-light: #7364b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a8f",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 240.594,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36062,
    "c": 0.16098,
    "h": 275.1
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#2B2A8F
secondary
#B6B75E
accent
#DE4ADC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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