#2A5894#2A5894

#2A5894 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.110 H 256.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2A5894
RGBrgb(42, 88, 148)
HSLhsl(214, 56%, 37%)
HSVhsv(214, 72%, 58%)
CMYKcmyk(71.6%, 40.5%, 0%, 42%)
CIE-LABlab(37.13, 5.35, -37.59)
CIE-LCHlch(37.13, 37.97, 278.10°)
OKLaboklab(45.93% -0.0266 -0.1072)
OKLCHoklch(45.93% 0.11 256.1)
XYZxyz(9.7879, 9.6088, 29.3501)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5894 #94662A
analogous
#2A8D94 #2A5894 #312A94
triadic
#2A5894 #942A58 #58942A
tetradic
#2A5894 #942A8D #94662A #2A9431
square
#2A5894 #942A8D #94662A #2A9431
split-complementary
#2A5894 #94312A #8D942A
monochromatic
#0F1F35 #1C3C64 #2A5894 #3874C4 #6595D3

Accessibility & contrast

On white

7.19
#2A5894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2A5894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5894
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5894#FFFFFF#000000##FFFFFF
##2A58941.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D96
Deuteranopia (green-blind)
#2C5393
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a5894;
/* rgb */ color: rgb(42, 88, 148);
/* oklch */ color: oklch(45.9% 0.110 256.1);
Tailwind
colors: {
  custom: {
    50: '#7186b4',
    500: '#2a5894',
    950: '#000000',
  },
}
SCSS
$custom: #2a5894;
$custom-light: #7186b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5894",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 213.962,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.11041,
    "h": 256.1
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#2A5894
secondary
#B99360
accent
#9E49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5894

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

Preview Lab → · Contrast checker → · Palette generator →

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