#2A2E92#2A2E92

#2A2E92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.161 H 273.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2A2E92
RGBrgb(42, 46, 146)
HSLhsl(238, 55%, 37%)
HSVhsv(238, 71%, 57%)
CMYKcmyk(71.2%, 68.5%, 0%, 42.7%)
CIE-LABlab(25.32, 32.64, -55.46)
CIE-LCHlch(25.32, 64.35, 300.48°)
OKLaboklab(36.97% 0.0101 -0.1602)
OKLCHoklch(36.97% 0.161 273.6)
XYZxyz(7.1184, 4.5209, 27.6860)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E92 #928E2A
analogous
#2A6292 #2A2E92 #5A2A92
triadic
#2A2E92 #922A2E #2E922A
tetradic
#2A2E92 #922A62 #928E2A #2A925A
square
#2A2E92 #922A62 #928E2A #2A925A
split-complementary
#2A2E92 #925A2A #62922A
monochromatic
#0F1033 #1C1F62 #2A2E92 #383DC2 #6468D2

Accessibility & contrast

On white

11.03
#2A2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E92
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E92#FFFFFF#000000##FFFFFF
##2A2E921.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2e92;
/* rgb */ color: rgb(42, 46, 146);
/* oklch */ color: oklch(37.0% 0.161 273.6);
Tailwind
colors: {
  custom: {
    50: '#7367b3',
    500: '#2a2e92',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e92;
$custom-light: #7367b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e92",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 237.692,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36968,
    "c": 0.16055,
    "h": 273.6
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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