#2A4D95#2A4D95

#2A4D95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.125 H 262.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2A4D95
RGBrgb(42, 77, 149)
HSLhsl(220, 56%, 37%)
HSVhsv(220, 72%, 58%)
CMYKcmyk(71.8%, 48.3%, 0%, 41.6%)
CIE-LABlab(33.92, 13.00, -43.33)
CIE-LCHlch(33.92, 45.24, 286.70°)
OKLaboklab(43.47% -0.0157 -0.1242)
OKLCHoklch(43.47% 0.125 262.8)
XYZxyz(9.0316, 7.9690, 29.4901)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D95 #95722A
analogous
#2A8295 #2A4D95 #3D2A95
triadic
#2A4D95 #952A4D #4D952A
tetradic
#2A4D95 #952A82 #95722A #2A953D
square
#2A4D95 #952A82 #95722A #2A953D
split-complementary
#2A4D95 #953D2A #82952A
monochromatic
#0F1C36 #1D3465 #2A4D95 #3766C5 #668AD4

Accessibility & contrast

On white

8.10
#2A4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A4D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D95
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D95#FFFFFF#000000##FFFFFF
##2A4D951.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#0D4B94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4d95;
/* rgb */ color: rgb(42, 77, 149);
/* oklch */ color: oklch(43.5% 0.125 262.8);
Tailwind
colors: {
  custom: {
    50: '#717eb5',
    500: '#2a4d95',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d95;
$custom-light: #717eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d95",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 220.374,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4347,
    "c": 0.12522,
    "h": 262.8
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#2A4D95
secondary
#BA9D61
accent
#AE48DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4D95

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

Preview Lab → · Contrast checker → · Palette generator →

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