#2D2A73#2D2A73

#2D2A73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.122 H 279.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2D2A73
RGBrgb(45, 42, 115)
HSLhsl(242, 46%, 31%)
HSVhsv(242, 63%, 45%)
CMYKcmyk(60.9%, 63.5%, 0%, 54.9%)
CIE-LABlab(21.77, 24.60, -41.77)
CIE-LCHlch(21.77, 48.47, 300.50°)
OKLaboklab(33.57% 0.0199 -0.12)
OKLCHoklch(33.57% 0.122 279.4)
XYZxyz(5.0037, 3.4513, 16.6188)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A73 #70732A
analogous
#2A4B73 #2D2A73 #512A73
triadic
#2D2A73 #732D2A #2A732D
tetradic
#2D2A73 #732A4B #70732A #2A7351
square
#2D2A73 #732A4B #70732A #2A7351
split-complementary
#2D2A73 #73512A #4B732A
monochromatic
#0A0919 #1B1A46 #2D2A73 #3F3AA0 #5A56C1

Accessibility & contrast

On white

12.42
#2D2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2D2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A73
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A73#FFFFFF#000000##FFFFFF
##2D2A731.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#023C4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2a73;
/* rgb */ color: rgb(45, 42, 115);
/* oklch */ color: oklch(33.6% 0.122 279.4);
Tailwind
colors: {
  custom: {
    50: '#6e639c',
    500: '#2d2a73',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a73;
$custom-light: #6e639c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a73",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 242.466,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33567,
    "c": 0.12165,
    "h": 279.4
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#2D2A73
secondary
#A2A554
accent
#D652D1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2D2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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