#2A4385#2A4385

#2A4385 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.115 H 265.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2A4385
RGBrgb(42, 67, 133)
HSLhsl(224, 52%, 34%)
HSVhsv(224, 68%, 52%)
CMYKcmyk(68.4%, 49.6%, 0%, 47.8%)
CIE-LABlab(29.91, 13.62, -39.96)
CIE-LCHlch(29.91, 42.22, 288.82°)
OKLaboklab(40.06% -0.0083 -0.1145)
OKLCHoklch(40.06% 0.115 265.8)
XYZxyz(7.1942, 6.1993, 23.0032)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4385 #856C2A
analogous
#2A7185 #2A4385 #3E2A85
triadic
#2A4385 #852A43 #43852A
tetradic
#2A4385 #852A71 #856C2A #2A853E
square
#2A4385 #852A71 #856C2A #2A853E
split-complementary
#2A4385 #853E2A #71852A
monochromatic
#0D1428 #1B2C56 #2A4385 #395AB4 #5D7CCC

Accessibility & contrast

On white

9.38
#2A4385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2A4385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4385
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4385#FFFFFF#000000##FFFFFF
##2A43851.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B87
Deuteranopia (green-blind)
#0B4384
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4385;
/* rgb */ color: rgb(42, 67, 133);
/* oklch */ color: oklch(40.1% 0.115 265.8);
Tailwind
colors: {
  custom: {
    50: '#6e76a9',
    500: '#2a4385',
    950: '#000000',
  },
}
SCSS
$custom: #2a4385;
$custom-light: #6e76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4385",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 223.516,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.11477,
    "h": 265.8
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#2A4385
secondary
#B29959
accent
#B44CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4385

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

Preview Lab → · Contrast checker → · Palette generator →

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