#2A4388#2A4388

#2A4388 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.119 H 266.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2A4388
RGBrgb(42, 67, 136)
HSLhsl(224, 53%, 35%)
HSVhsv(224, 69%, 53%)
CMYKcmyk(69.1%, 50.7%, 0%, 46.7%)
CIE-LABlab(30.12, 14.77, -41.49)
CIE-LCHlch(30.12, 44.04, 289.59°)
OKLaboklab(40.28% -0.0079 -0.119)
OKLCHoklch(40.28% 0.119 266.2)
XYZxyz(7.4044, 6.2834, 24.1104)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4388 #886F2A
analogous
#2A7288 #2A4388 #402A88
triadic
#2A4388 #882A43 #43882A
tetradic
#2A4388 #882A72 #886F2A #2A8840
square
#2A4388 #882A72 #886F2A #2A8840
split-complementary
#2A4388 #88402A #72882A
monochromatic
#0D152A #1C2C59 #2A4388 #385AB7 #5F7CCE

Accessibility & contrast

On white

9.31
#2A4388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A4388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4388
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4388#FFFFFF#000000##FFFFFF
##2A43881.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8B
Deuteranopia (green-blind)
#024387
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a4388;
/* rgb */ color: rgb(42, 67, 136);
/* oklch */ color: oklch(40.3% 0.119 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f76ab',
    500: '#2a4388',
    950: '#000000',
  },
}
SCSS
$custom: #2a4388;
$custom-light: #6f76ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4388",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 224.043,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.11922,
    "h": 266.2
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#2A4388
secondary
#B39C5B
accent
#B64CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4388

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

Preview Lab → · Contrast checker → · Palette generator →

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