#2A3D76#2A3D76

#2A3D76 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.100 H 267.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2A3D76
RGBrgb(42, 61, 118)
HSLhsl(225, 48%, 31%)
HSVhsv(225, 64%, 46%)
CMYKcmyk(64.4%, 48.3%, 0%, 53.7%)
CIE-LABlab(27.12, 12.02, -35.04)
CIE-LCHlch(27.12, 37.05, 288.93°)
OKLaboklab(37.6% -0.0043 -0.1001)
OKLCHoklch(37.6% 0.1 267.6)
XYZxyz(5.8925, 5.1372, 17.8171)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D76 #76632A
analogous
#2A6376 #2A3D76 #3D2A76
triadic
#2A3D76 #762A3D #3D762A
tetradic
#2A3D76 #762A63 #76632A #2A763D
square
#2A3D76 #762A63 #76632A #2A763D
split-complementary
#2A3D76 #763D2A #63762A
monochromatic
#0A0E1C #1A2649 #2A3D76 #3A54A3 #5772C3

Accessibility & contrast

On white

10.36
#2A3D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A3D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D76
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D76#FFFFFF#000000##FFFFFF
##2A3D761.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214478
Deuteranopia (green-blind)
#153D75
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a3d76;
/* rgb */ color: rgb(42, 61, 118);
/* oklch */ color: oklch(37.6% 0.100 267.6);
Tailwind
colors: {
  custom: {
    50: '#6c729e',
    500: '#2a3d76',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d76;
$custom-light: #6c729e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d76",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 225,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37604,
    "c": 0.10019,
    "h": 267.6
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#2A3D76
secondary
#A89354
accent
#B651D7
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2A3D76

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

Preview Lab → · Contrast checker → · Palette generator →

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