#2A3E71#2A3E71

#2A3E71 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.091 H 266.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2A3E71
RGBrgb(42, 62, 113)
HSLhsl(223, 46%, 30%)
HSVhsv(223, 63%, 44%)
CMYKcmyk(62.8%, 45.1%, 0%, 55.7%)
CIE-LABlab(27.10, 9.44, -31.91)
CIE-LCHlch(27.10, 33.28, 286.48°)
OKLaboklab(37.48% -0.0063 -0.0909)
OKLCHoklch(37.48% 0.091 266)
XYZxyz(5.6571, 5.1293, 16.3115)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E71 #715D2A
analogous
#2A6171 #2A3E71 #3A2A71
triadic
#2A3E71 #712A3E #3E712A
tetradic
#2A3E71 #712A61 #715D2A #2A713A
square
#2A3E71 #712A61 #715D2A #2A713A
split-complementary
#2A3E71 #713A2A #61712A
monochromatic
#090D18 #192644 #2A3E71 #3B569E #5573C0

Accessibility & contrast

On white

10.37
#2A3E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3E71
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E71#FFFFFF#000000##FFFFFF
##2A3E711.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#1D3D70
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a3e71;
/* rgb */ color: rgb(42, 62, 113);
/* oklch */ color: oklch(37.5% 0.091 266.0);
Tailwind
colors: {
  custom: {
    50: '#6b729a',
    500: '#2a3e71',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e71;
$custom-light: #6b729a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e71",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 223.099,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.0911,
    "h": 266
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#2A3E71
secondary
#A38D54
accent
#B152D5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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