#2A5694#2A5694

#2A5694 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.113 H 257.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2A5694
RGBrgb(42, 86, 148)
HSLhsl(215, 56%, 37%)
HSVhsv(215, 72%, 58%)
CMYKcmyk(71.6%, 41.9%, 0%, 42%)
CIE-LABlab(36.53, 6.65, -38.55)
CIE-LCHlch(36.53, 39.12, 279.79°)
OKLaboklab(45.46% -0.0246 -0.11)
OKLCHoklch(45.46% 0.113 257.4)
XYZxyz(9.6260, 9.2849, 29.2961)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5694 #94682A
analogous
#2A8B94 #2A5694 #332A94
triadic
#2A5694 #942A56 #56942A
tetradic
#2A5694 #942A8B #94682A #2A9433
square
#2A5694 #942A8B #94682A #2A9433
split-complementary
#2A5694 #94332A #8B942A
monochromatic
#0F1F35 #1C3A64 #2A5694 #3872C4 #6593D3

Accessibility & contrast

On white

7.35
#2A5694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2A5694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5694
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5694#FFFFFF#000000##FFFFFF
##2A56941.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B96
Deuteranopia (green-blind)
#285193
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a5694;
/* rgb */ color: rgb(42, 86, 148);
/* oklch */ color: oklch(45.5% 0.113 257.4);
Tailwind
colors: {
  custom: {
    50: '#7185b4',
    500: '#2a5694',
    950: '#000000',
  },
}
SCSS
$custom: #2a5694;
$custom-light: #7185b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5694",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 148
  },
  "hsl": {
    "h": 215.094,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.11273,
    "h": 257.4
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#2A5694
secondary
#B99460
accent
#A149DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5694

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

Preview Lab → · Contrast checker → · Palette generator →

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