#2A4398#2A4398

#2A4398 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.142 H 267.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2A4398
RGBrgb(42, 67, 152)
HSLhsl(226, 57%, 38%)
HSVhsv(226, 72%, 60%)
CMYKcmyk(72.4%, 55.9%, 0%, 40.4%)
CIE-LABlab(31.28, 20.90, -49.41)
CIE-LCHlch(31.28, 53.65, 292.93°)
OKLaboklab(41.54% -0.0064 -0.1423)
OKLCHoklch(41.54% 0.142 267.4)
XYZxyz(8.6275, 6.7727, 30.5522)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4398 #987F2A
analogous
#2A7A98 #2A4398 #482A98
triadic
#2A4398 #982A43 #43982A
tetradic
#2A4398 #982A7A #987F2A #2A9848
square
#2A4398 #982A7A #987F2A #2A9848
split-complementary
#2A4398 #98482A #7A982A
monochromatic
#101938 #1D2E68 #2A4398 #3758C8 #6780D5

Accessibility & contrast

On white

8.92
#2A4398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A4398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4398
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4398#FFFFFF#000000##FFFFFF
##2A43981.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4398;
/* rgb */ color: rgb(42, 67, 152);
/* oklch */ color: oklch(41.5% 0.142 267.4);
Tailwind
colors: {
  custom: {
    50: '#7376b7',
    500: '#2a4398',
    950: '#000000',
  },
}
SCSS
$custom: #2a4398;
$custom-light: #7376b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4398",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 226.364,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.14242,
    "h": 267.4
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#2A4398
secondary
#BBA762
accent
#BD48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4398

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

Preview Lab → · Contrast checker → · Palette generator →

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