#2A2D90#2A2D90

#2A2D90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.159 H 274.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2A2D90
RGBrgb(42, 45, 144)
HSLhsl(238, 55%, 36%)
HSVhsv(238, 71%, 56%)
CMYKcmyk(70.8%, 68.7%, 0%, 43.5%)
CIE-LABlab(24.90, 32.56, -54.92)
CIE-LCHlch(24.90, 63.85, 300.66°)
OKLaboklab(36.6% 0.011 -0.1587)
OKLCHoklch(36.6% 0.159 274)
XYZxyz(6.9256, 4.3820, 26.8610)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D90 #908D2A
analogous
#2A6090 #2A2D90 #5A2A90
triadic
#2A2D90 #902A2D #2D902A
tetradic
#2A2D90 #902A60 #908D2A #2A905A
square
#2A2D90 #902A60 #908D2A #2A905A
split-complementary
#2A2D90 #905A2A #60902A
monochromatic
#0E0F31 #1C1E61 #2A2D90 #383CBF #6366D1

Accessibility & contrast

On white

11.19
#2A2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D90
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D90#FFFFFF#000000##FFFFFF
##2A2D901.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a2d90;
/* rgb */ color: rgb(42, 45, 144);
/* oklch */ color: oklch(36.6% 0.159 274.0);
Tailwind
colors: {
  custom: {
    50: '#7266b1',
    500: '#2a2d90',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d90;
$custom-light: #7266b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d90",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 238.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36599,
    "c": 0.15906,
    "h": 274
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#2A2D90
secondary
#B7B55E
accent
#DA4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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