#2A2075#2A2075

#2A2075 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.138 H 280.4°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#2A2075
RGBrgb(42, 32, 117)
HSLhsl(247, 57%, 29%)
HSVhsv(247, 73%, 46%)
CMYKcmyk(64.1%, 72.6%, 0%, 54.1%)
CIE-LABlab(19.26, 31.28, -47.15)
CIE-LCHlch(19.26, 56.58, 303.56°)
OKLaboklab(31.74% 0.0249 -0.1359)
OKLCHoklch(31.74% 0.138 280.4)
XYZxyz(4.6812, 2.8093, 17.1217)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2075 #6B7520
analogous
#204175 #2A2075 #552075
triadic
#2A2075 #752A20 #20752A
tetradic
#2A2075 #752041 #6B7520 #207555
square
#2A2075 #752041 #6B7520 #207555
split-complementary
#2A2075 #755520 #417520
monochromatic
#090718 #191345 #2A2075 #3B2DA5 #5444CC

Accessibility & contrast

On white

13.44
#2A2075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2A2075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2075
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2075#FFFFFF#000000##FFFFFF
##2A20751.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a2075;
/* rgb */ color: rgb(42, 32, 117);
/* oklch */ color: oklch(31.7% 0.138 280.4);
Tailwind
colors: {
  custom: {
    50: '#6e5c9e',
    500: '#2a2075',
    950: '#000000',
  },
}
SCSS
$custom: #2a2075;
$custom-light: #6e5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2075",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 247.059,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31741,
    "c": 0.13818,
    "h": 280.4
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#2A2075
secondary
#9DA848
accent
#E047CE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2A2075

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

Preview Lab → · Contrast checker → · Palette generator →

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