#2A376E#2A376E

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

Color values

HEX#2A376E
RGBrgb(42, 55, 110)
HSLhsl(229, 45%, 30%)
HSVhsv(229, 62%, 43%)
CMYKcmyk(61.8%, 50%, 0%, 56.9%)
CIE-LABlab(24.80, 13.17, -33.68)
CIE-LCHlch(24.80, 36.16, 291.35°)
OKLaboklab(35.66% 0.0014 -0.0962)
OKLCHoklch(35.66% 0.096 270.8)
XYZxyz(5.1346, 4.3500, 15.3179)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A376E #6E612A
analogous
#2A596E #2A376E #3F2A6E
triadic
#2A376E #6E2A37 #376E2A
tetradic
#2A376E #6E2A59 #6E612A #2A6E3F
square
#2A376E #6E2A59 #6E612A #2A6E3F
split-complementary
#2A376E #6E3F2A #596E2A
monochromatic
#080B16 #192142 #2A376E #3B4D9A #5569BE

Accessibility & contrast

On white

11.23
#2A376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A376E
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A376E#FFFFFF#000000##FFFFFF
##2A376E1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#12386D
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a376e;
/* rgb */ color: rgb(42, 55, 110);
/* oklch */ color: oklch(35.7% 0.096 270.8);
Tailwind
colors: {
  custom: {
    50: '#6a6d98',
    500: '#2a376e',
    950: '#000000',
  },
}
SCSS
$custom: #2a376e;
$custom-light: #6a6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#2a376e",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 228.529,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35657,
    "c": 0.09618,
    "h": 270.8
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#2A376E
secondary
#A09154
accent
#BC53D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2A376E

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

Preview Lab → · Contrast checker → · Palette generator →

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