#2A2E58#2A2E58

#2A2E58 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.074 H 277.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#2A2E58
RGBrgb(42, 46, 88)
HSLhsl(235, 35%, 25%)
HSVhsv(235, 52%, 35%)
CMYKcmyk(52.3%, 47.7%, 0%, 65.5%)
CIE-LABlab(20.64, 11.43, -25.98)
CIE-LCHlch(20.64, 28.39, 293.74°)
OKLaboklab(32.02% 0.0094 -0.0737)
OKLCHoklch(32.02% 0.074 277.2)
XYZxyz(3.6927, 3.1506, 9.6442)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E58 #58542A
analogous
#2A4558 #2A2E58 #3D2A58
triadic
#2A2E58 #582A2E #2E582A
tetradic
#2A2E58 #582A45 #58542A #2A583D
square
#2A2E58 #582A45 #58542A #2A583D
split-complementary
#2A2E58 #583D2A #45582A
monochromatic
#0A0B15 #16182F #2A2E58 #3E4481 #5259AB

Accessibility & contrast

On white

12.88
#2A2E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2A2E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E58
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E58#FFFFFF#000000##FFFFFF
##2A2E581.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D345A
Deuteranopia (green-blind)
#193057
Tritanopia (blue-blind)
#19373E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a2e58;
/* rgb */ color: rgb(42, 46, 88);
/* oklch */ color: oklch(32.0% 0.074 277.2);
Tailwind
colors: {
  custom: {
    50: '#676687',
    500: '#2a2e58',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e58;
$custom-light: #676687;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e58",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 234.783,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32019,
    "c": 0.07427,
    "h": 277.2
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#2A2E58
secondary
#8A8653
accent
#C25CCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2A2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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