#2A2E53#2A2E53

#2A2E53 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.066 H 277.3°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2A2E53
RGBrgb(42, 46, 83)
HSLhsl(234, 33%, 25%)
HSVhsv(234, 49%, 33%)
CMYKcmyk(49.4%, 44.6%, 0%, 67.5%)
CIE-LABlab(20.32, 9.66, -23.15)
CIE-LCHlch(20.32, 25.09, 292.65°)
OKLaboklab(31.68% 0.0083 -0.0654)
OKLCHoklch(31.68% 0.066 277.3)
XYZxyz(3.4927, 3.0706, 8.5906)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E53 #534F2A
analogous
#2A4353 #2A2E53 #3B2A53
triadic
#2A2E53 #532A2E #2E532A
tetradic
#2A2E53 #532A43 #534F2A #2A533B
square
#2A2E53 #532A43 #534F2A #2A533B
split-complementary
#2A2E53 #533B2A #43532A
monochromatic
#0A0B14 #15172A #2A2E53 #3F457C #535BA4

Accessibility & contrast

On white

13.01
#2A2E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E53
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E53#FFFFFF#000000##FFFFFF
##2A2E531.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203354
Deuteranopia (green-blind)
#1D2F52
Tritanopia (blue-blind)
#1C363C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a2e53;
/* rgb */ color: rgb(42, 46, 83);
/* oklch */ color: oklch(31.7% 0.066 277.3);
Tailwind
colors: {
  custom: {
    50: '#666683',
    500: '#2a2e53',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e53;
$custom-light: #666683;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e53",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 234.146,
    "s": 32.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31679,
    "c": 0.06592,
    "h": 277.3
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#2A2E53
secondary
#858054
accent
#BF5FC9
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2A2E53

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

Preview Lab → · Contrast checker → · Palette generator →

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