#2A2E91#2A2E91

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

Color values

HEX#2A2E91
RGBrgb(42, 46, 145)
HSLhsl(238, 55%, 37%)
HSVhsv(238, 71%, 57%)
CMYKcmyk(71%, 68.3%, 0%, 43.1%)
CIE-LABlab(25.23, 32.28, -55.00)
CIE-LCHlch(25.23, 63.77, 300.41°)
OKLaboklab(36.87% 0.0102 -0.1589)
OKLCHoklch(36.87% 0.159 273.7)
XYZxyz(7.0410, 4.4899, 27.2781)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E91 #918D2A
analogous
#2A6291 #2A2E91 #5A2A91
triadic
#2A2E91 #912A2E #2E912A
tetradic
#2A2E91 #912A62 #918D2A #2A915A
square
#2A2E91 #912A62 #918D2A #2A915A
split-complementary
#2A2E91 #915A2A #62912A
monochromatic
#0F1032 #1C1F62 #2A2E91 #383DC0 #6368D2

Accessibility & contrast

On white

11.06
#2A2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E91
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E91#FFFFFF#000000##FFFFFF
##2A2E911.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.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: #2a2e91;
/* rgb */ color: rgb(42, 46, 145);
/* oklch */ color: oklch(36.9% 0.159 273.7);
Tailwind
colors: {
  custom: {
    50: '#7367b2',
    500: '#2a2e91',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e91;
$custom-light: #7367b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e91",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 237.67,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3687,
    "c": 0.1592,
    "h": 273.7
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#2A2E91
secondary
#B8B55F
accent
#D949DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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