#2A2E90#2A2E90

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

Color values

HEX#2A2E90
RGBrgb(42, 46, 144)
HSLhsl(238, 55%, 36%)
HSVhsv(238, 71%, 56%)
CMYKcmyk(70.8%, 68.1%, 0%, 43.5%)
CIE-LABlab(25.13, 31.92, -54.53)
CIE-LCHlch(25.13, 63.19, 300.34°)
OKLaboklab(36.77% 0.0103 -0.1575)
OKLCHoklch(36.77% 0.158 273.7)
XYZxyz(6.9642, 4.4592, 26.8738)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E90 #908C2A
analogous
#2A6190 #2A2E90 #592A90
triadic
#2A2E90 #902A2E #2E902A
tetradic
#2A2E90 #902A61 #908C2A #2A9059
square
#2A2E90 #902A61 #908C2A #2A9059
split-complementary
#2A2E90 #90592A #61902A
monochromatic
#0E1031 #1C1F61 #2A2E90 #383DBF #6367D1

Accessibility & contrast

On white

11.10
#2A2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E90
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E90#FFFFFF#000000##FFFFFF
##2A2E901.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2e90;
/* rgb */ color: rgb(42, 46, 144);
/* oklch */ color: oklch(36.8% 0.158 273.7);
Tailwind
colors: {
  custom: {
    50: '#7267b1',
    500: '#2a2e90',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e90;
$custom-light: #7267b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e90",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 237.647,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36773,
    "c": 0.15786,
    "h": 273.7
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#2A2E90
secondary
#B7B45E
accent
#D84ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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