#2A4895#2A4895

#2A4895 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.132 H 265.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2A4895
RGBrgb(42, 72, 149)
HSLhsl(223, 56%, 37%)
HSVhsv(223, 72%, 58%)
CMYKcmyk(71.8%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.47, 16.36, -45.66)
CIE-LCHlch(32.47, 48.51, 289.72°)
OKLaboklab(42.37% -0.0111 -0.1312)
OKLCHoklch(42.37% 0.132 265.2)
XYZxyz(8.6951, 7.2960, 29.3780)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4895 #95772A
analogous
#2A7D95 #2A4895 #422A95
triadic
#2A4895 #952A48 #48952A
tetradic
#2A4895 #952A7D #95772A #2A9542
square
#2A4895 #952A7D #95772A #2A9542
split-complementary
#2A4895 #95422A #7D952A
monochromatic
#0F1A36 #1D3165 #2A4895 #375FC5 #6685D4

Accessibility & contrast

On white

8.54
#2A4895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2A4895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4895
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4895#FFFFFF#000000##FFFFFF
##2A48951.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4895;
/* rgb */ color: rgb(42, 72, 149);
/* oklch */ color: oklch(42.4% 0.132 265.2);
Tailwind
colors: {
  custom: {
    50: '#727ab5',
    500: '#2a4895',
    950: '#000000',
  },
}
SCSS
$custom: #2a4895;
$custom-light: #727ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4895",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 223.178,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.13164,
    "h": 265.2
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#2A4895
secondary
#BAA161
accent
#B548DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4895

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

Preview Lab → · Contrast checker → · Palette generator →

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