#2A3A73#2A3A73

#2A3A73 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.100 H 269.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2A3A73
RGBrgb(42, 58, 115)
HSLhsl(227, 46%, 31%)
HSVhsv(227, 63%, 45%)
CMYKcmyk(63.5%, 49.6%, 0%, 54.9%)
CIE-LABlab(26.03, 12.96, -34.90)
CIE-LCHlch(26.03, 37.23, 290.37°)
OKLaboklab(36.7% -0.0013 -0.0997)
OKLCHoklch(36.7% 0.1 269.2)
XYZxyz(5.5614, 4.7557, 16.8412)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A73 #73632A
analogous
#2A5E73 #2A3A73 #3E2A73
triadic
#2A3A73 #732A3A #3A732A
tetradic
#2A3A73 #732A5E #73632A #2A733E
square
#2A3A73 #732A5E #73632A #2A733E
split-complementary
#2A3A73 #733E2A #5E732A
monochromatic
#090D19 #1A2346 #2A3A73 #3A51A0 #566EC1

Accessibility & contrast

On white

10.76
#2A3A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A3A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A73
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A73#FFFFFF#000000##FFFFFF
##2A3A731.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4175
Deuteranopia (green-blind)
#123B72
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3a73;
/* rgb */ color: rgb(42, 58, 115);
/* oklch */ color: oklch(36.7% 0.100 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b6f9c',
    500: '#2a3a73',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a73;
$custom-light: #6b6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a73",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 115
  },
  "hsl": {
    "h": 226.849,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36703,
    "c": 0.09972,
    "h": 269.2
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#2A3A73
secondary
#A59354
accent
#B952D6
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2A3A73

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

Preview Lab → · Contrast checker → · Palette generator →

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