#2A5793#2A5793

#2A5793 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.110 H 256.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2A5793
RGBrgb(42, 87, 147)
HSLhsl(214, 56%, 37%)
HSVhsv(214, 71%, 58%)
CMYKcmyk(71.4%, 40.8%, 0%, 42.4%)
CIE-LABlab(36.77, 5.62, -37.56)
CIE-LCHlch(36.77, 37.98, 278.51°)
OKLaboklab(45.63% -0.0258 -0.1071)
OKLCHoklch(45.63% 0.11 256.4)
XYZxyz(9.6276, 9.4142, 28.9078)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5793 #93662A
analogous
#2A8C93 #2A5793 #322A93
triadic
#2A5793 #932A57 #57932A
tetradic
#2A5793 #932A8C #93662A #2A9332
square
#2A5793 #932A8C #93662A #2A9332
split-complementary
#2A5793 #93322A #8C932A
monochromatic
#0F1F34 #1C3B63 #2A5793 #3873C3 #6594D3

Accessibility & contrast

On white

7.28
#2A5793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2A5793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5793
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5793#FFFFFF#000000##FFFFFF
##2A57931.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5C95
Deuteranopia (green-blind)
#2B5292
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a5793;
/* rgb */ color: rgb(42, 87, 147);
/* oklch */ color: oklch(45.6% 0.110 256.4);
Tailwind
colors: {
  custom: {
    50: '#7186b3',
    500: '#2a5793',
    950: '#000000',
  },
}
SCSS
$custom: #2a5793;
$custom-light: #7186b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5793",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 214.286,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.11016,
    "h": 256.4
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A5793

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

Preview Lab → · Contrast checker → · Palette generator →

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