#2A5693#2A5693

#2A5693 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.111 H 257.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2A5693
RGBrgb(42, 86, 147)
HSLhsl(215, 56%, 37%)
HSVhsv(215, 71%, 58%)
CMYKcmyk(71.4%, 41.5%, 0%, 42.4%)
CIE-LABlab(36.47, 6.27, -38.04)
CIE-LCHlch(36.47, 38.56, 279.36°)
OKLaboklab(45.4% -0.0248 -0.1085)
OKLCHoklch(45.4% 0.111 257.1)
XYZxyz(9.5472, 9.2534, 28.8810)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5693 #93672A
analogous
#2A8B93 #2A5693 #322A93
triadic
#2A5693 #932A56 #56932A
tetradic
#2A5693 #932A8B #93672A #2A9332
square
#2A5693 #932A8B #93672A #2A9332
split-complementary
#2A5693 #93322A #8B932A
monochromatic
#0F1E34 #1C3A63 #2A5693 #3872C3 #6593D3

Accessibility & contrast

On white

7.37
#2A5693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2A5693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5693
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5693#FFFFFF#000000##FFFFFF
##2A56931.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#295192
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a5693;
/* rgb */ color: rgb(42, 86, 147);
/* oklch */ color: oklch(45.4% 0.111 257.1);
Tailwind
colors: {
  custom: {
    50: '#7185b3',
    500: '#2a5693',
    950: '#000000',
  },
}
SCSS
$custom: #2a5693;
$custom-light: #7185b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5693",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 214.857,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.11132,
    "h": 257.1
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#2A5693
secondary
#B99460
accent
#A049DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5693

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

Preview Lab → · Contrast checker → · Palette generator →

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