#2B2A8E#2B2A8E

#2B2A8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.160 H 275.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2B2A8E
RGBrgb(43, 42, 142)
HSLhsl(241, 54%, 36%)
HSVhsv(241, 70%, 56%)
CMYKcmyk(69.7%, 70.4%, 0%, 44.3%)
CIE-LABlab(24.07, 33.88, -55.04)
CIE-LCHlch(24.07, 64.63, 301.62°)
OKLaboklab(35.96% 0.0146 -0.159)
OKLCHoklch(35.96% 0.16 275.2)
XYZxyz(6.7051, 4.1219, 26.0282)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A8E #8D8E2A
analogous
#2A5B8E #2B2A8E #5D2A8E
triadic
#2B2A8E #8E2B2A #2A8E2B
tetradic
#2B2A8E #8E2A5B #8D8E2A #2A8E5D
square
#2B2A8E #8E2A5B #8D8E2A #2A8E5D
split-complementary
#2B2A8E #8E5D2A #5B8E2A
monochromatic
#0E0E30 #1D1C5F #2B2A8E #3938BD #6362D1

Accessibility & contrast

On white

11.51
#2B2A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2A8E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A8E#FFFFFF#000000##FFFFFF
##2B2A8E1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2a8e;
/* rgb */ color: rgb(43, 42, 142);
/* oklch */ color: oklch(36.0% 0.160 275.2);
Tailwind
colors: {
  custom: {
    50: '#7364b0',
    500: '#2b2a8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a8e;
$custom-light: #7364b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a8e",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 240.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.15966,
    "h": 275.2
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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