#2A2E94#2A2E94

#2A2E94 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.163 H 273.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2A2E94
RGBrgb(42, 46, 148)
HSLhsl(238, 56%, 37%)
HSVhsv(238, 72%, 58%)
CMYKcmyk(71.6%, 68.9%, 0%, 42%)
CIE-LABlab(25.51, 33.36, -56.38)
CIE-LCHlch(25.51, 65.51, 300.61°)
OKLaboklab(37.16% 0.0098 -0.1629)
OKLCHoklch(37.16% 0.163 273.4)
XYZxyz(7.2754, 4.5836, 28.5125)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E94 #94902A
analogous
#2A6394 #2A2E94 #5B2A94
triadic
#2A2E94 #942A2E #2E942A
tetradic
#2A2E94 #942A63 #94902A #2A945B
square
#2A2E94 #942A63 #94902A #2A945B
split-complementary
#2A2E94 #945B2A #63942A
monochromatic
#0F1035 #1C1F64 #2A2E94 #383DC4 #6569D3

Accessibility & contrast

On white

10.96
#2A2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2A2E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E94
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E94#FFFFFF#000000##FFFFFF
##2A2E941.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a2e94;
/* rgb */ color: rgb(42, 46, 148);
/* oklch */ color: oklch(37.2% 0.163 273.4);
Tailwind
colors: {
  custom: {
    50: '#7367b4',
    500: '#2a2e94',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e94;
$custom-light: #7367b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e94",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 237.736,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.16323,
    "h": 273.4
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#2A2E94
secondary
#B9B660
accent
#D949DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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