#2A2E93#2A2E93

#2A2E93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.162 H 273.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2A2E93
RGBrgb(42, 46, 147)
HSLhsl(238, 56%, 37%)
HSVhsv(238, 71%, 58%)
CMYKcmyk(71.4%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.42, 33.00, -55.92)
CIE-LCHlch(25.42, 64.93, 300.54°)
OKLaboklab(37.07% 0.0099 -0.1616)
OKLCHoklch(37.07% 0.162 273.5)
XYZxyz(7.1965, 4.5521, 28.0975)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E93 #938F2A
analogous
#2A6393 #2A2E93 #5A2A93
triadic
#2A2E93 #932A2E #2E932A
tetradic
#2A2E93 #932A63 #938F2A #2A935A
square
#2A2E93 #932A63 #938F2A #2A935A
split-complementary
#2A2E93 #935A2A #63932A
monochromatic
#0F1034 #1C1F63 #2A2E93 #383DC3 #6569D3

Accessibility & contrast

On white

10.99
#2A2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A2E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E93
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E93#FFFFFF#000000##FFFFFF
##2A2E931.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a2e93;
/* rgb */ color: rgb(42, 46, 147);
/* oklch */ color: oklch(37.1% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#7367b4',
    500: '#2a2e93',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e93;
$custom-light: #7367b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e93",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 237.714,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37065,
    "c": 0.16189,
    "h": 273.5
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#2A2E93
secondary
#B9B660
accent
#D949DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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