#2A2E73#2A2E73

#2A2E73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.117 H 275.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2A2E73
RGBrgb(42, 46, 115)
HSLhsl(237, 46%, 31%)
HSVhsv(237, 63%, 45%)
CMYKcmyk(63.5%, 60%, 0%, 54.9%)
CIE-LABlab(22.60, 21.30, -40.43)
CIE-LCHlch(22.60, 45.70, 297.78°)
OKLaboklab(34.12% 0.0118 -0.1161)
OKLCHoklch(34.12% 0.117 275.8)
XYZxyz(5.0253, 3.6836, 16.6625)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E73 #736F2A
analogous
#2A5273 #2A2E73 #4A2A73
triadic
#2A2E73 #732A2E #2E732A
tetradic
#2A2E73 #732A52 #736F2A #2A734A
square
#2A2E73 #732A52 #736F2A #2A734A
split-complementary
#2A2E73 #734A2A #52732A
monochromatic
#090A19 #1A1C46 #2A2E73 #3A40A0 #565CC1

Accessibility & contrast

On white

12.09
#2A2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2A2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E73
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E73#FFFFFF#000000##FFFFFF
##2A2E731.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a2e73;
/* rgb */ color: rgb(42, 46, 115);
/* oklch */ color: oklch(34.1% 0.117 275.8);
Tailwind
colors: {
  custom: {
    50: '#6c669c',
    500: '#2a2e73',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e73;
$custom-light: #6c669c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e73",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 236.712,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3412,
    "c": 0.11674,
    "h": 275.8
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#2A2E73
secondary
#A5A054
accent
#CF52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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