#2A4891#2A4891

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

Color values

HEX#2A4891
RGBrgb(42, 72, 145)
HSLhsl(223, 55%, 37%)
HSVhsv(223, 71%, 57%)
CMYKcmyk(71%, 50.3%, 0%, 43.1%)
CIE-LABlab(32.19, 14.83, -43.68)
CIE-LCHlch(32.19, 46.12, 288.75°)
OKLaboklab(42.06% -0.0116 -0.1253)
OKLCHoklch(42.06% 0.126 264.7)
XYZxyz(8.3813, 7.1705, 27.7249)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4891 #91732A
analogous
#2A7C91 #2A4891 #402A91
triadic
#2A4891 #912A48 #48912A
tetradic
#2A4891 #912A7C #91732A #2A9140
square
#2A4891 #912A7C #91732A #2A9140
split-complementary
#2A4891 #91402A #7C912A
monochromatic
#0F1932 #1C3062 #2A4891 #3860C0 #6384D2

Accessibility & contrast

On white

8.63
#2A4891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A4891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4891
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4891#FFFFFF#000000##FFFFFF
##2A48911.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4891;
/* rgb */ color: rgb(42, 72, 145);
/* oklch */ color: oklch(42.1% 0.126 264.7);
Tailwind
colors: {
  custom: {
    50: '#717ab2',
    500: '#2a4891',
    950: '#000000',
  },
}
SCSS
$custom: #2a4891;
$custom-light: #717ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4891",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 222.524,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42063,
    "c": 0.12585,
    "h": 264.7
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#2A4891
secondary
#B89E5F
accent
#B349DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4891

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

Preview Lab → · Contrast checker → · Palette generator →

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