#2A4C95#2A4C95

#2A4C95 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.126 H 263.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2A4C95
RGBrgb(42, 76, 149)
HSLhsl(221, 56%, 37%)
HSVhsv(221, 72%, 58%)
CMYKcmyk(71.8%, 49%, 0%, 41.6%)
CIE-LABlab(33.63, 13.67, -43.80)
CIE-LCHlch(33.63, 45.89, 287.33°)
OKLaboklab(43.25% -0.0147 -0.1256)
OKLCHoklch(43.25% 0.126 263.3)
XYZxyz(8.9622, 7.8301, 29.4670)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C95 #95732A
analogous
#2A8195 #2A4C95 #3E2A95
triadic
#2A4C95 #952A4C #4C952A
tetradic
#2A4C95 #952A81 #95732A #2A953E
square
#2A4C95 #952A81 #95732A #2A953E
split-complementary
#2A4C95 #953E2A #81952A
monochromatic
#0F1B36 #1D3465 #2A4C95 #3764C5 #6689D4

Accessibility & contrast

On white

8.18
#2A4C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A4C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C95
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C95#FFFFFF#000000##FFFFFF
##2A4C951.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#074A94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a4c95;
/* rgb */ color: rgb(42, 76, 149);
/* oklch */ color: oklch(43.2% 0.126 263.3);
Tailwind
colors: {
  custom: {
    50: '#717db5',
    500: '#2a4c95',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c95;
$custom-light: #717db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c95",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 149
  },
  "hsl": {
    "h": 220.935,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.12648,
    "h": 263.3
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#2A4C95
secondary
#BA9E61
accent
#AF48DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4C95

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

Preview Lab → · Contrast checker → · Palette generator →

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