#2A4892#2A4892

#2A4892 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.127 H 264.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2A4892
RGBrgb(42, 72, 146)
HSLhsl(223, 55%, 37%)
HSVhsv(223, 71%, 57%)
CMYKcmyk(71.2%, 50.7%, 0%, 42.7%)
CIE-LABlab(32.26, 15.21, -44.18)
CIE-LCHlch(32.26, 46.72, 289.00°)
OKLaboklab(42.14% -0.0114 -0.1268)
OKLCHoklch(42.14% 0.127 264.8)
XYZxyz(8.4587, 7.2014, 28.1328)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4892 #92742A
analogous
#2A7C92 #2A4892 #402A92
triadic
#2A4892 #922A48 #48922A
tetradic
#2A4892 #922A7C #92742A #2A9240
square
#2A4892 #922A7C #92742A #2A9240
split-complementary
#2A4892 #92402A #7C922A
monochromatic
#0F1933 #1C3162 #2A4892 #385FC2 #6484D2

Accessibility & contrast

On white

8.61
#2A4892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A4892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4892
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4892#FFFFFF#000000##FFFFFF
##2A48921.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4892;
/* rgb */ color: rgb(42, 72, 146);
/* oklch */ color: oklch(42.1% 0.127 264.8);
Tailwind
colors: {
  custom: {
    50: '#717ab2',
    500: '#2a4892',
    950: '#000000',
  },
}
SCSS
$custom: #2a4892;
$custom-light: #717ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4892",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 222.692,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.1273,
    "h": 264.8
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#2A4892
secondary
#B89F5F
accent
#B449DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4892

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

Preview Lab → · Contrast checker → · Palette generator →

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