#2B2E89#2B2E89

#2B2E89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.148 H 274.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2B2E89
RGBrgb(43, 46, 137)
HSLhsl(238, 52%, 35%)
HSVhsv(238, 69%, 54%)
CMYKcmyk(68.6%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.55, 29.53, -51.13)
CIE-LCHlch(24.55, 59.05, 300.01°)
OKLaboklab(36.17% 0.0121 -0.1475)
OKLCHoklch(36.17% 0.148 274.7)
XYZxyz(6.4871, 4.2731, 24.1450)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E89 #89862B
analogous
#2B5D89 #2B2E89 #572B89
triadic
#2B2E89 #892B2E #2E892B
tetradic
#2B2E89 #892B5D #89862B #2B8957
square
#2B2E89 #892B5D #89862B #2B8957
split-complementary
#2B2E89 #89572B #5D892B
monochromatic
#0E0F2C #1C1E5A #2B2E89 #3A3EB8 #6164CD

Accessibility & contrast

On white

11.32
#2B2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E89
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E89#FFFFFF#000000##FFFFFF
##2B2E891.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2e89;
/* rgb */ color: rgb(43, 46, 137);
/* oklch */ color: oklch(36.2% 0.148 274.7);
Tailwind
colors: {
  custom: {
    50: '#7167ac',
    500: '#2b2e89',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e89;
$custom-light: #7167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e89",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 238.085,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36169,
    "c": 0.14804,
    "h": 274.7
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#2B2E89
secondary
#B3B15C
accent
#D74CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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