#2A4396#2A4396

#2A4396 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.140 H 267.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2A4396
RGBrgb(42, 67, 150)
HSLhsl(226, 56%, 38%)
HSVhsv(226, 72%, 59%)
CMYKcmyk(72%, 55.3%, 0%, 41.2%)
CIE-LABlab(31.13, 20.13, -48.44)
CIE-LCHlch(31.13, 52.46, 292.57°)
OKLaboklab(41.38% -0.0065 -0.1394)
OKLCHoklch(41.38% 0.14 267.3)
XYZxyz(8.4651, 6.7077, 29.6968)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4396 #967D2A
analogous
#2A7996 #2A4396 #472A96
triadic
#2A4396 #962A43 #43962A
tetradic
#2A4396 #962A79 #967D2A #2A9647
square
#2A4396 #962A79 #967D2A #2A9647
split-complementary
#2A4396 #96472A #79962A
monochromatic
#0F1836 #1D2E66 #2A4396 #3758C6 #6680D4

Accessibility & contrast

On white

8.97
#2A4396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A4396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4396
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4396#FFFFFF#000000##FFFFFF
##2A43961.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4396;
/* rgb */ color: rgb(42, 67, 150);
/* oklch */ color: oklch(41.4% 0.140 267.3);
Tailwind
colors: {
  custom: {
    50: '#7276b5',
    500: '#2a4396',
    950: '#000000',
  },
}
SCSS
$custom: #2a4396;
$custom-light: #7276b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4396",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 226.111,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41375,
    "c": 0.13957,
    "h": 267.3
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4396

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

Preview Lab → · Contrast checker → · Palette generator →

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