#2A2E4E#2A2E4E

#2A2E4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.4% C 0.057 H 277.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#2A2E4E
RGBrgb(42, 46, 78)
HSLhsl(233, 30%, 24%)
HSVhsv(233, 46%, 31%)
CMYKcmyk(46.2%, 41%, 0%, 69.4%)
CIE-LABlab(20.03, 7.93, -20.27)
CIE-LCHlch(20.03, 21.76, 291.37°)
OKLaboklab(31.36% 0.0071 -0.057)
OKLCHoklch(31.36% 0.057 277.1)
XYZxyz(3.3066, 2.9961, 7.6103)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E4E #4E4A2A
analogous
#2A404E #2A2E4E #382A4E
triadic
#2A2E4E #4E2A2E #2E4E2A
tetradic
#2A2E4E #4E2A40 #4E4A2A #2A4E38
square
#2A2E4E #4E2A40 #4E4A2A #2A4E38
split-complementary
#2A2E4E #4E382A #404E2A
monochromatic
#0B0C14 #151726 #2A2E4E #3F4576 #555D9E

Accessibility & contrast

On white

13.13
#2A2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2A2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E4E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E4E#FFFFFF#000000##FFFFFF
##2A2E4E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#1F343A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a2e4e;
/* rgb */ color: rgb(42, 46, 78);
/* oklch */ color: oklch(31.4% 0.057 277.1);
Tailwind
colors: {
  custom: {
    50: '#65667f',
    500: '#2a2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e4e;
$custom-light: #65667f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e4e",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 233.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.05742,
    "h": 277.1
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#2A2E4E
secondary
#807B54
accent
#BB62C6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2A2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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