#2A2E63#2A2E63

#2A2E63 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.092 H 276.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#2A2E63
RGBrgb(42, 46, 99)
HSLhsl(236, 40%, 28%)
HSVhsv(236, 58%, 39%)
CMYKcmyk(57.6%, 53.5%, 0%, 61.2%)
CIE-LABlab(21.38, 15.40, -32.04)
CIE-LCHlch(21.38, 35.55, 295.68°)
OKLaboklab(32.82% 0.0109 -0.0914)
OKLCHoklch(32.82% 0.092 276.8)
XYZxyz(4.1833, 3.3468, 12.2275)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E63 #635F2A
analogous
#2A4B63 #2A2E63 #422A63
triadic
#2A2E63 #632A2E #2E632A
tetradic
#2A2E63 #632A4B #635F2A #2A6342
square
#2A2E63 #632A4B #635F2A #2A6342
split-complementary
#2A2E63 #63422A #4B632A
monochromatic
#090A15 #181A38 #2A2E63 #3C428E #5259B6

Accessibility & contrast

On white

12.58
#2A2E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2A2E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E63
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E63#FFFFFF#000000##FFFFFF
##2A2E631.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133665
Deuteranopia (green-blind)
#0C3162
Tritanopia (blue-blind)
#0F3A43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a2e63;
/* rgb */ color: rgb(42, 46, 99);
/* oklch */ color: oklch(32.8% 0.092 276.8);
Tailwind
colors: {
  custom: {
    50: '#696690',
    500: '#2a2e63',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e63;
$custom-light: #696690;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e63",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 235.789,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32825,
    "c": 0.0921,
    "h": 276.8
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#2A2E63
secondary
#959153
accent
#C858D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2A2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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