#2A2E50#2A2E50

#2A2E50 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.061 H 277.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2A2E50
RGBrgb(42, 46, 80)
HSLhsl(234, 31%, 24%)
HSVhsv(234, 48%, 31%)
CMYKcmyk(47.5%, 42.5%, 0%, 68.6%)
CIE-LABlab(20.14, 8.62, -21.43)
CIE-LCHlch(20.14, 23.09, 291.91°)
OKLaboklab(31.48% 0.0076 -0.0604)
OKLCHoklch(31.48% 0.061 277.2)
XYZxyz(3.3794, 3.0253, 7.9937)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E50 #504C2A
analogous
#2A4150 #2A2E50 #392A50
triadic
#2A2E50 #502A2E #2E502A
tetradic
#2A2E50 #502A41 #504C2A #2A5039
square
#2A2E50 #502A41 #504C2A #2A5039
split-complementary
#2A2E50 #50392A #41502A
monochromatic
#0B0C14 #151728 #2A2E50 #3F4578 #545CA0

Accessibility & contrast

On white

13.08
#2A2E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A2E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E50
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E50#FFFFFF#000000##FFFFFF
##2A2E501.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223251
Deuteranopia (green-blind)
#1F2F4F
Tritanopia (blue-blind)
#1D353B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a2e50;
/* rgb */ color: rgb(42, 46, 80);
/* oklch */ color: oklch(31.5% 0.061 277.2);
Tailwind
colors: {
  custom: {
    50: '#666681',
    500: '#2a2e50',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e50;
$custom-light: #666681;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e50",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 233.684,
    "s": 31.148,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.06084,
    "h": 277.2
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#2A2E50
secondary
#827D54
accent
#BD60C7
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2A2E50

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

Preview Lab → · Contrast checker → · Palette generator →

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