#2A376D#2A376D

#2A376D is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.095 H 270.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2A376D
RGBrgb(42, 55, 109)
HSLhsl(228, 44%, 30%)
HSVhsv(228, 61%, 43%)
CMYKcmyk(61.5%, 49.5%, 0%, 57.3%)
CIE-LABlab(24.73, 12.79, -33.15)
CIE-LCHlch(24.73, 35.53, 291.10°)
OKLaboklab(35.58% 0.0013 -0.0946)
OKLCHoklch(35.58% 0.095 270.8)
XYZxyz(5.0804, 4.3283, 15.0328)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A376D #6D602A
analogous
#2A596D #2A376D #3F2A6D
triadic
#2A376D #6D2A37 #376D2A
tetradic
#2A376D #6D2A59 #6D602A #2A6D3F
square
#2A376D #6D2A59 #6D602A #2A6D3F
split-complementary
#2A376D #6D3F2A #596D2A
monochromatic
#090B16 #192141 #2A376D #3B4D99 #5469BD

Accessibility & contrast

On white

11.26
#2A376D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A376D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A376D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A376D#FFFFFF#000000##FFFFFF
##2A376D1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E6F
Deuteranopia (green-blind)
#13386C
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a376d;
/* rgb */ color: rgb(42, 55, 109);
/* oklch */ color: oklch(35.6% 0.095 270.8);
Tailwind
colors: {
  custom: {
    50: '#6a6d97',
    500: '#2a376d',
    950: '#000000',
  },
}
SCSS
$custom: #2a376d;
$custom-light: #6a6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#2a376d",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 109
  },
  "hsl": {
    "h": 228.358,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35583,
    "c": 0.09462,
    "h": 270.8
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#2A376D
secondary
#9F9054
accent
#BB54D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2A376D

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

Preview Lab → · Contrast checker → · Palette generator →

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