#2A2E5D#2A2E5D

#2A2E5D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.082 H 277.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#2A2E5D
RGBrgb(42, 46, 93)
HSLhsl(235, 38%, 26%)
HSVhsv(235, 55%, 36%)
CMYKcmyk(54.8%, 50.5%, 0%, 63.5%)
CIE-LABlab(20.97, 13.22, -28.77)
CIE-LCHlch(20.97, 31.66, 294.68°)
OKLaboklab(32.38% 0.0102 -0.0818)
OKLCHoklch(32.38% 0.082 277.1)
XYZxyz(3.9070, 3.2363, 10.7726)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E5D #5D592A
analogous
#2A485D #2A2E5D #402A5D
triadic
#2A2E5D #5D2A2E #2E5D2A
tetradic
#2A2E5D #5D2A48 #5D592A #2A5D40
square
#2A2E5D #5D2A48 #5D592A #2A5D40
split-complementary
#2A2E5D #5D402A #485D2A
monochromatic
#0A0A15 #171933 #2A2E5D #3D4387 #5158B0

Accessibility & contrast

On white

12.75
#2A2E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A2E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E5D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E5D#FFFFFF#000000##FFFFFF
##2A2E5D1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19355F
Deuteranopia (green-blind)
#14305C
Tritanopia (blue-blind)
#153841
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a2e5d;
/* rgb */ color: rgb(42, 46, 93);
/* oklch */ color: oklch(32.4% 0.082 277.1);
Tailwind
colors: {
  custom: {
    50: '#68668b',
    500: '#2a2e5d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e5d;
$custom-light: #68668b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e5d",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 235.294,
    "s": 37.778,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32376,
    "c": 0.08247,
    "h": 277.1
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#2A2E5D
secondary
#8F8B53
accent
#C55ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2A2E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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