#2A2C73#2A2C73

#2A2C73 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.7% C 0.120 H 276.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#2A2C73
RGBrgb(42, 44, 115)
HSLhsl(238, 46%, 31%)
HSVhsv(238, 63%, 45%)
CMYKcmyk(63.5%, 61.7%, 0%, 54.9%)
CIE-LABlab(22.06, 22.67, -41.31)
CIE-LCHlch(22.06, 47.12, 298.76°)
OKLaboklab(33.72% 0.0139 -0.1187)
OKLCHoklch(33.72% 0.12 276.7)
XYZxyz(4.9490, 3.5310, 16.6371)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C73 #73712A
analogous
#2A5073 #2A2C73 #4C2A73
triadic
#2A2C73 #732A2C #2C732A
tetradic
#2A2C73 #732A50 #73712A #2A734C
square
#2A2C73 #732A50 #73712A #2A734C
split-complementary
#2A2C73 #734C2A #50732A
monochromatic
#090A19 #1A1B46 #2A2C73 #3A3DA0 #5659C1

Accessibility & contrast

On white

12.31
#2A2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2A2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C73
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C73#FFFFFF#000000##FFFFFF
##2A2C731.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2c73;
/* rgb */ color: rgb(42, 44, 115);
/* oklch */ color: oklch(33.7% 0.120 276.7);
Tailwind
colors: {
  custom: {
    50: '#6c659c',
    500: '#2a2c73',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c73;
$custom-light: #6c659c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c73",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 238.356,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33719,
    "c": 0.11955,
    "h": 276.7
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#2A2C73
secondary
#A5A354
accent
#D352D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2A2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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