#2A5393#2A5393

#2A5393 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.115 H 259.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2A5393
RGBrgb(42, 83, 147)
HSLhsl(217, 56%, 37%)
HSVhsv(217, 71%, 58%)
CMYKcmyk(71.4%, 43.5%, 0%, 42.4%)
CIE-LABlab(35.57, 8.24, -39.48)
CIE-LCHlch(35.57, 40.33, 281.79°)
OKLaboklab(44.7% -0.0218 -0.1128)
OKLCHoklch(44.7% 0.115 259)
XYZxyz(9.3127, 8.7844, 28.8029)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5393 #936A2A
analogous
#2A8893 #2A5393 #352A93
triadic
#2A5393 #932A53 #53932A
tetradic
#2A5393 #932A88 #936A2A #2A9335
square
#2A5393 #932A88 #936A2A #2A9335
split-complementary
#2A5393 #93352A #88932A
monochromatic
#0F1D34 #1C3863 #2A5393 #386EC3 #6590D3

Accessibility & contrast

On white

7.62
#2A5393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2A5393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5393
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5393#FFFFFF#000000##FFFFFF
##2A53931.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345995
Deuteranopia (green-blind)
#234F92
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a5393;
/* rgb */ color: rgb(42, 83, 147);
/* oklch */ color: oklch(44.7% 0.115 259.0);
Tailwind
colors: {
  custom: {
    50: '#7182b3',
    500: '#2a5393',
    950: '#000000',
  },
}
SCSS
$custom: #2a5393;
$custom-light: #7182b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5393",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 147
  },
  "hsl": {
    "h": 216.571,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.11489,
    "h": 259
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#2A5393
secondary
#B99660
accent
#A449DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2A5393

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

Preview Lab → · Contrast checker → · Palette generator →

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