#2A3373#2A3373

#2A3373 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.2% C 0.110 H 273.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2A3373
RGBrgb(42, 51, 115)
HSLhsl(233, 46%, 31%)
HSVhsv(233, 63%, 45%)
CMYKcmyk(63.5%, 55.7%, 0%, 54.9%)
CIE-LABlab(23.99, 17.83, -38.18)
CIE-LCHlch(23.99, 42.13, 295.04°)
OKLaboklab(35.16% 0.0065 -0.1094)
OKLCHoklch(35.16% 0.11 273.4)
XYZxyz(5.2322, 4.0973, 16.7315)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3373 #736A2A
analogous
#2A5773 #2A3373 #452A73
triadic
#2A3373 #732A33 #33732A
tetradic
#2A3373 #732A57 #736A2A #2A7345
square
#2A3373 #732A57 #736A2A #2A7345
split-complementary
#2A3373 #73452A #57732A
monochromatic
#090B19 #1A1F46 #2A3373 #3A47A0 #5663C1

Accessibility & contrast

On white

11.54
#2A3373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2A3373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3373
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3373#FFFFFF#000000##FFFFFF
##2A33731.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3373;
/* rgb */ color: rgb(42, 51, 115);
/* oklch */ color: oklch(35.2% 0.110 273.4);
Tailwind
colors: {
  custom: {
    50: '#6c6a9c',
    500: '#2a3373',
    950: '#000000',
  },
}
SCSS
$custom: #2a3373;
$custom-light: #6c6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3373",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 232.603,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35162,
    "c": 0.10964,
    "h": 273.4
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#2A3373
secondary
#A59B54
accent
#C652D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A3373

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

Preview Lab → · Contrast checker → · Palette generator →

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