#2A3E77#2A3E77

#2A3E77 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.100 H 267.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2A3E77
RGBrgb(42, 62, 119)
HSLhsl(224, 48%, 32%)
HSVhsv(224, 65%, 47%)
CMYKcmyk(64.7%, 47.9%, 0%, 53.3%)
CIE-LABlab(27.49, 11.71, -35.09)
CIE-LCHlch(27.49, 36.99, 288.45°)
OKLaboklab(37.9% -0.0052 -0.1002)
OKLCHoklch(37.9% 0.1 267)
XYZxyz(6.0061, 5.2689, 18.1497)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E77 #77632A
analogous
#2A6577 #2A3E77 #3D2A77
triadic
#2A3E77 #772A3E #3E772A
tetradic
#2A3E77 #772A65 #77632A #2A773D
square
#2A3E77 #772A65 #77632A #2A773D
split-complementary
#2A3E77 #773D2A #65772A
monochromatic
#0A0F1D #1A264A #2A3E77 #3A56A4 #5874C4

Accessibility & contrast

On white

10.22
#2A3E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A3E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E77
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E77#FFFFFF#000000##FFFFFF
##2A3E771.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#163E76
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3e77;
/* rgb */ color: rgb(42, 62, 119);
/* oklch */ color: oklch(37.9% 0.100 267.0);
Tailwind
colors: {
  custom: {
    50: '#6c729f',
    500: '#2a3e77',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e77;
$custom-light: #6c729f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e77",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 119
  },
  "hsl": {
    "h": 224.416,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37904,
    "c": 0.10036,
    "h": 267
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#2A3E77
secondary
#A99354
accent
#B450D7
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A3E77

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

Preview Lab → · Contrast checker → · Palette generator →

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