#2A3073#2A3073

#2A3073 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.5% C 0.114 H 274.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2A3073
RGBrgb(42, 48, 115)
HSLhsl(235, 46%, 31%)
HSVhsv(235, 63%, 45%)
CMYKcmyk(63.5%, 58.3%, 0%, 54.9%)
CIE-LABlab(23.15, 19.92, -39.54)
CIE-LCHlch(23.15, 44.27, 296.73°)
OKLaboklab(34.53% 0.0097 -0.1135)
OKLCHoklch(34.53% 0.114 274.9)
XYZxyz(5.1053, 3.8435, 16.6892)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3073 #736D2A
analogous
#2A5473 #2A3073 #482A73
triadic
#2A3073 #732A30 #30732A
tetradic
#2A3073 #732A54 #736D2A #2A7348
square
#2A3073 #732A54 #736D2A #2A7348
split-complementary
#2A3073 #73482A #54732A
monochromatic
#090B19 #1A1D46 #2A3073 #3A43A0 #565FC1

Accessibility & contrast

On white

11.87
#2A3073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A3073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3073
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3073#FFFFFF#000000##FFFFFF
##2A30731.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3073;
/* rgb */ color: rgb(42, 48, 115);
/* oklch */ color: oklch(34.5% 0.114 274.9);
Tailwind
colors: {
  custom: {
    50: '#6c689c',
    500: '#2a3073',
    950: '#000000',
  },
}
SCSS
$custom: #2a3073;
$custom-light: #6c689c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3073",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 115
  },
  "hsl": {
    "h": 235.068,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.1139,
    "h": 274.9
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#2A3073
secondary
#A59E54
accent
#CB52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A3073

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

Preview Lab → · Contrast checker → · Palette generator →

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