#2A388D#2A388D

#2A388D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.141 H 271.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2A388D
RGBrgb(42, 56, 141)
HSLhsl(232, 54%, 36%)
HSVhsv(232, 70%, 55%)
CMYKcmyk(70.2%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.42, 24.18, -48.95)
CIE-LCHlch(27.42, 54.60, 296.29°)
OKLaboklab(38.37% 0.0026 -0.1411)
OKLCHoklch(38.37% 0.141 271)
XYZxyz(7.1751, 5.2430, 25.8280)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A388D #8D7F2A
analogous
#2A698D #2A388D #4D2A8D
triadic
#2A388D #8D2A38 #388D2A
tetradic
#2A388D #8D2A69 #8D7F2A #2A8D4D
square
#2A388D #8D2A69 #8D7F2A #2A8D4D
split-complementary
#2A388D #8D4D2A #698D2A
monochromatic
#0E132F #1C255E #2A388D #384BBC #6171D0

Accessibility & contrast

On white

10.25
#2A388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A388D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A388D#FFFFFF#000000##FFFFFF
##2A388D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a388d;
/* rgb */ color: rgb(42, 56, 141);
/* oklch */ color: oklch(38.4% 0.141 271.0);
Tailwind
colors: {
  custom: {
    50: '#716eaf',
    500: '#2a388d',
    950: '#000000',
  },
}
SCSS
$custom: #2a388d;
$custom-light: #716eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a388d",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 231.515,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38368,
    "c": 0.14109,
    "h": 271
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#2A388D
secondary
#B6A95D
accent
#C94ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2A388D

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

Preview Lab → · Contrast checker → · Palette generator →

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