#2B2E88#2B2E88

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

Color values

HEX#2B2E88
RGBrgb(43, 46, 136)
HSLhsl(238, 52%, 35%)
HSVhsv(238, 68%, 53%)
CMYKcmyk(68.4%, 66.2%, 0%, 46.7%)
CIE-LABlab(24.46, 29.17, -50.66)
CIE-LCHlch(24.46, 58.46, 299.93°)
OKLaboklab(36.08% 0.0122 -0.1461)
OKLCHoklch(36.08% 0.147 274.8)
XYZxyz(6.4157, 4.2446, 23.7690)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E88 #88852B
analogous
#2B5C88 #2B2E88 #572B88
triadic
#2B2E88 #882B2E #2E882B
tetradic
#2B2E88 #882B5C #88852B #2B8857
square
#2B2E88 #882B5C #88852B #2B8857
split-complementary
#2B2E88 #88572B #5C882B
monochromatic
#0E0F2B #1C1E5A #2B2E88 #3A3EB6 #6164CD

Accessibility & contrast

On white

11.36
#2B2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2E88
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E88#FFFFFF#000000##FFFFFF
##2B2E881.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2e88;
/* rgb */ color: rgb(43, 46, 136);
/* oklch */ color: oklch(36.1% 0.147 274.8);
Tailwind
colors: {
  custom: {
    50: '#7167ac',
    500: '#2b2e88',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e88;
$custom-light: #7167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e88",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 238.065,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36075,
    "c": 0.14666,
    "h": 274.8
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#2B2E88
secondary
#B3B05C
accent
#D74CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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