#2A4382#2A4382

#2A4382 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.110 H 265.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2A4382
RGBrgb(42, 67, 130)
HSLhsl(223, 51%, 34%)
HSVhsv(223, 68%, 51%)
CMYKcmyk(67.7%, 48.5%, 0%, 49%)
CIE-LABlab(29.71, 12.47, -38.42)
CIE-LCHlch(29.71, 40.40, 287.98°)
OKLaboklab(39.84% -0.0088 -0.1099)
OKLCHoklch(39.84% 0.11 265.4)
XYZxyz(6.9899, 6.1176, 21.9272)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4382 #82692A
analogous
#2A6F82 #2A4382 #3D2A82
triadic
#2A4382 #822A43 #43822A
tetradic
#2A4382 #822A6F #82692A #2A823D
square
#2A4382 #822A6F #82692A #2A823D
split-complementary
#2A4382 #823D2A #6F822A
monochromatic
#0C1325 #1B2B54 #2A4382 #395BB0 #5C7BCA

Accessibility & contrast

On white

9.44
#2A4382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A4382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4382
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4382#FFFFFF#000000##FFFFFF
##2A43821.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#124281
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4382;
/* rgb */ color: rgb(42, 67, 130);
/* oklch */ color: oklch(39.8% 0.110 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e76a7',
    500: '#2a4382',
    950: '#000000',
  },
}
SCSS
$custom: #2a4382;
$custom-light: #6e76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4382",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 222.955,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.1103,
    "h": 265.4
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#2A4382
secondary
#B09758
accent
#B24DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A4382

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

Preview Lab → · Contrast checker → · Palette generator →

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