#2B2A88#2B2A88

#2B2A88 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.152 H 275.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2B2A88
RGBrgb(43, 42, 136)
HSLhsl(241, 53%, 35%)
HSVhsv(241, 69%, 53%)
CMYKcmyk(68.4%, 69.1%, 0%, 46.7%)
CIE-LABlab(23.49, 31.76, -52.25)
CIE-LCHlch(23.49, 61.14, 301.30°)
OKLaboklab(35.37% 0.0154 -0.1508)
OKLCHoklch(35.37% 0.152 275.8)
XYZxyz(6.2667, 3.9465, 23.7193)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A88 #87882A
analogous
#2A5888 #2B2A88 #5A2A88
triadic
#2B2A88 #882B2A #2A882B
tetradic
#2B2A88 #882A58 #87882A #2A885A
square
#2B2A88 #882A58 #87882A #2A885A
split-complementary
#2B2A88 #885A2A #58882A
monochromatic
#0D0D2A #1C1C59 #2B2A88 #3A38B7 #605FCE

Accessibility & contrast

On white

11.74
#2B2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B2A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A88
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A88#FFFFFF#000000##FFFFFF
##2B2A881.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2a88;
/* rgb */ color: rgb(43, 42, 136);
/* oklch */ color: oklch(35.4% 0.152 275.8);
Tailwind
colors: {
  custom: {
    50: '#7164ac',
    500: '#2b2a88',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a88;
$custom-light: #7164ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a88",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 240.638,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35369,
    "c": 0.1516,
    "h": 275.8
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#2B2A88
secondary
#B2B35B
accent
#DC4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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