#2A2E4C#2A2E4C

#2A2E4C is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.054 H 277.0°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#2A2E4C
RGBrgb(42, 46, 76)
HSLhsl(233, 29%, 23%)
HSVhsv(233, 45%, 30%)
CMYKcmyk(44.7%, 39.5%, 0%, 70.2%)
CIE-LABlab(19.91, 7.25, -19.10)
CIE-LCHlch(19.91, 20.43, 290.78°)
OKLaboklab(31.23% 0.0066 -0.0536)
OKLCHoklch(31.23% 0.054 277)
XYZxyz(3.2360, 2.9679, 7.2384)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E4C #4C482A
analogous
#2A3F4C #2A2E4C #372A4C
triadic
#2A2E4C #4C2A2E #2E4C2A
tetradic
#2A2E4C #4C2A3F #4C482A #2A4C37
square
#2A2E4C #4C2A3F #4C482A #2A4C37
split-complementary
#2A2E4C #4C372A #3F4C2A
monochromatic
#0B0C14 #141625 #2A2E4C #404673 #565E9B

Accessibility & contrast

On white

13.18
#2A2E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2A2E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E4C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E4C#FFFFFF#000000##FFFFFF
##2A2E4C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324D
Deuteranopia (green-blind)
#212F4B
Tritanopia (blue-blind)
#1F3439
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a2e4c;
/* rgb */ color: rgb(42, 46, 76);
/* oklch */ color: oklch(31.2% 0.054 277.0);
Tailwind
colors: {
  custom: {
    50: '#65667e',
    500: '#2a2e4c',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e4c;
$custom-light: #65667e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e4c",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 232.941,
    "s": 28.814,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31231,
    "c": 0.05398,
    "h": 277
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#2A2E4C
secondary
#7E7954
accent
#BA63C5
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2A2E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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