#2A2D73#2A2D73

#2A2D73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.118 H 276.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#2A2D73
RGBrgb(42, 45, 115)
HSLhsl(238, 46%, 31%)
HSVhsv(238, 63%, 45%)
CMYKcmyk(63.5%, 60.9%, 0%, 54.9%)
CIE-LABlab(22.32, 21.99, -40.87)
CIE-LCHlch(22.32, 46.41, 298.28°)
OKLaboklab(33.92% 0.0128 -0.1174)
OKLCHoklch(33.92% 0.118 276.2)
XYZxyz(4.9867, 3.6064, 16.6497)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D73 #73702A
analogous
#2A5173 #2A2D73 #4B2A73
triadic
#2A2D73 #732A2D #2D732A
tetradic
#2A2D73 #732A51 #73702A #2A734B
square
#2A2D73 #732A51 #73702A #2A734B
split-complementary
#2A2D73 #734B2A #51732A
monochromatic
#090A19 #1A1B46 #2A2D73 #3A3FA0 #565AC1

Accessibility & contrast

On white

12.20
#2A2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2A2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D73
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D73#FFFFFF#000000##FFFFFF
##2A2D731.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2d73;
/* rgb */ color: rgb(42, 45, 115);
/* oklch */ color: oklch(33.9% 0.118 276.2);
Tailwind
colors: {
  custom: {
    50: '#6c669c',
    500: '#2a2d73',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d73;
$custom-light: #6c669c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d73",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 237.534,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33918,
    "c": 0.11814,
    "h": 276.2
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#2A2D73
secondary
#A5A254
accent
#D152D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2A2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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