#2A3C73#2A3C73

#2A3C73 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.097 H 267.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2A3C73
RGBrgb(42, 60, 115)
HSLhsl(225, 46%, 31%)
HSVhsv(225, 63%, 45%)
CMYKcmyk(63.5%, 47.8%, 0%, 54.9%)
CIE-LABlab(26.62, 11.58, -33.94)
CIE-LCHlch(26.62, 35.86, 288.83°)
OKLaboklab(37.16% -0.0036 -0.0969)
OKLCHoklch(37.16% 0.097 267.9)
XYZxyz(5.6642, 4.9613, 16.8755)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C73 #73612A
analogous
#2A6073 #2A3C73 #3C2A73
triadic
#2A3C73 #732A3C #3C732A
tetradic
#2A3C73 #732A60 #73612A #2A733C
square
#2A3C73 #732A60 #73612A #2A733C
split-complementary
#2A3C73 #733C2A #60732A
monochromatic
#090D19 #1A2546 #2A3C73 #3A53A0 #5671C1

Accessibility & contrast

On white

10.54
#2A3C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A3C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3C73
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C73#FFFFFF#000000##FFFFFF
##2A3C731.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224275
Deuteranopia (green-blind)
#173C72
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a3c73;
/* rgb */ color: rgb(42, 60, 115);
/* oklch */ color: oklch(37.2% 0.097 267.9);
Tailwind
colors: {
  custom: {
    50: '#6b719c',
    500: '#2a3c73',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c73;
$custom-light: #6b719c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c73",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 115
  },
  "hsl": {
    "h": 225.205,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.09694,
    "h": 267.9
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#2A3C73
secondary
#A59154
accent
#B552D6
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2A3C73

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

Preview Lab → · Contrast checker → · Palette generator →

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