#2B2E91#2B2E91

#2B2E91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.159 H 274.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2B2E91
RGBrgb(43, 46, 145)
HSLhsl(238, 54%, 37%)
HSVhsv(238, 70%, 57%)
CMYKcmyk(70.3%, 68.3%, 0%, 43.1%)
CIE-LABlab(25.29, 32.41, -54.89)
CIE-LCHlch(25.29, 63.74, 300.56°)
OKLaboklab(36.94% 0.0114 -0.1585)
OKLCHoklch(36.94% 0.159 274.1)
XYZxyz(7.0824, 4.5113, 27.2801)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E91 #918E2B
analogous
#2B6191 #2B2E91 #5B2B91
triadic
#2B2E91 #912B2E #2E912B
tetradic
#2B2E91 #912B61 #918E2B #2B915B
square
#2B2E91 #912B61 #918E2B #2B915B
split-complementary
#2B2E91 #915B2B #61912B
monochromatic
#0F1033 #1D1F62 #2B2E91 #393DC0 #6568D1

Accessibility & contrast

On white

11.04
#2B2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E91
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E91#FFFFFF#000000##FFFFFF
##2B2E911.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2e91;
/* rgb */ color: rgb(43, 46, 145);
/* oklch */ color: oklch(36.9% 0.159 274.1);
Tailwind
colors: {
  custom: {
    50: '#7367b2',
    500: '#2b2e91',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e91;
$custom-light: #7367b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e91",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 238.235,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36935,
    "c": 0.15895,
    "h": 274.1
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#2B2E91
secondary
#B8B560
accent
#D94ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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