#2A2C4E#2A2C4E

#2A2C4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.061 H 279.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#2A2C4E
RGBrgb(42, 44, 78)
HSLhsl(237, 30%, 24%)
HSVhsv(237, 46%, 31%)
CMYKcmyk(46.2%, 43.6%, 0%, 69.4%)
CIE-LABlab(19.41, 9.35, -21.25)
CIE-LCHlch(19.41, 23.21, 293.75°)
OKLaboklab(30.88% 0.0102 -0.0598)
OKLCHoklch(30.88% 0.061 279.7)
XYZxyz(3.2303, 2.8435, 7.5849)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C4E #4E4C2A
analogous
#2A3E4E #2A2C4E #3A2A4E
triadic
#2A2C4E #4E2A2C #2C4E2A
tetradic
#2A2C4E #4E2A3E #4E4C2A #2A4E3A
square
#2A2C4E #4E2A3E #4E4C2A #2A4E3A
split-complementary
#2A2C4E #4E3A2A #3E4E2A
monochromatic
#0B0B14 #151626 #2A2C4E #3F4276 #55599E

Accessibility & contrast

On white

13.39
#2A2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2A2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C4E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C4E#FFFFFF#000000##FFFFFF
##2A2C4E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#1F3339
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a2c4e;
/* rgb */ color: rgb(42, 44, 78);
/* oklch */ color: oklch(30.9% 0.061 279.7);
Tailwind
colors: {
  custom: {
    50: '#656580',
    500: '#2a2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c4e;
$custom-light: #656580;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c4e",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 236.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30878,
    "c": 0.0607,
    "h": 279.7
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#2A2C4E
secondary
#807E54
accent
#C162C6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2A2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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