#2B2E81#2B2E81

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

Color values

HEX#2B2E81
RGBrgb(43, 46, 129)
HSLhsl(238, 50%, 34%)
HSVhsv(238, 67%, 51%)
CMYKcmyk(66.7%, 64.3%, 0%, 49.4%)
CIE-LABlab(23.84, 26.62, -47.29)
CIE-LCHlch(23.84, 54.27, 299.38°)
OKLaboklab(35.43% 0.0127 -0.1363)
OKLCHoklch(35.43% 0.137 275.3)
XYZxyz(5.9344, 4.0521, 21.2340)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E81 #817E2B
analogous
#2B5981 #2B2E81 #532B81
triadic
#2B2E81 #812B2E #2E812B
tetradic
#2B2E81 #812B59 #817E2B #2B8153
square
#2B2E81 #812B59 #817E2B #2B8153
split-complementary
#2B2E81 #81532B #59812B
monochromatic
#0C0D25 #1C1E53 #2B2E81 #3A3EAF #5D61C9

Accessibility & contrast

On white

11.60
#2B2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E81
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E81#FFFFFF#000000##FFFFFF
##2B2E811.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2e81;
/* rgb */ color: rgb(43, 46, 129);
/* oklch */ color: oklch(35.4% 0.137 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f67a6',
    500: '#2b2e81',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e81;
$custom-light: #6f67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e81",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 237.907,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35427,
    "c": 0.13685,
    "h": 275.3
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#2B2E81
secondary
#AFAC59
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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