#2A4392#2A4392

#2A4392 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.134 H 267.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2A4392
RGBrgb(42, 67, 146)
HSLhsl(226, 55%, 37%)
HSVhsv(226, 71%, 57%)
CMYKcmyk(71.2%, 54.1%, 0%, 42.7%)
CIE-LABlab(30.83, 18.60, -46.48)
CIE-LCHlch(30.83, 50.06, 291.81°)
OKLaboklab(41.06% -0.0068 -0.1336)
OKLCHoklch(41.06% 0.134 267.1)
XYZxyz(8.1485, 6.5811, 28.0294)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4392 #92792A
analogous
#2A7792 #2A4392 #452A92
triadic
#2A4392 #922A43 #43922A
tetradic
#2A4392 #922A77 #92792A #2A9245
square
#2A4392 #922A77 #92792A #2A9245
split-complementary
#2A4392 #92452A #77922A
monochromatic
#0F1733 #1C2D62 #2A4392 #3859C2 #647FD2

Accessibility & contrast

On white

9.07
#2A4392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A4392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4392
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4392#FFFFFF#000000##FFFFFF
##2A43921.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4E95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4392;
/* rgb */ color: rgb(42, 67, 146);
/* oklch */ color: oklch(41.1% 0.134 267.1);
Tailwind
colors: {
  custom: {
    50: '#7176b3',
    500: '#2a4392',
    950: '#000000',
  },
}
SCSS
$custom: #2a4392;
$custom-light: #7176b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4392",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 225.577,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.13382,
    "h": 267.1
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#2A4392
secondary
#B8A35F
accent
#BB49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4392

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

Preview Lab → · Contrast checker → · Palette generator →

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