#2A5893#2A5893

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

Color values

HEX#2A5893
RGBrgb(42, 88, 147)
HSLhsl(214, 56%, 37%)
HSVhsv(214, 71%, 58%)
CMYKcmyk(71.4%, 40.1%, 0%, 42.4%)
CIE-LABlab(37.07, 4.97, -37.08)
CIE-LCHlch(37.07, 37.41, 277.63°)
OKLaboklab(45.87% -0.0268 -0.1057)
OKLCHoklch(45.87% 0.109 255.8)
XYZxyz(9.7091, 9.5772, 28.9350)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5893 #93652A
analogous
#2A8D93 #2A5893 #302A93
triadic
#2A5893 #932A58 #58932A
tetradic
#2A5893 #932A8D #93652A #2A9330
square
#2A5893 #932A8D #93652A #2A9330
split-complementary
#2A5893 #93302A #8D932A
monochromatic
#0F1F34 #1C3C63 #2A5893 #3874C3 #6595D3

Accessibility & contrast

On white

7.20
#2A5893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5893
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5893#FFFFFF#000000##FFFFFF
##2A58931.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5D95
Deuteranopia (green-blind)
#2D5392
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a5893;
/* rgb */ color: rgb(42, 88, 147);
/* oklch */ color: oklch(45.9% 0.109 255.8);
Tailwind
colors: {
  custom: {
    50: '#7186b3',
    500: '#2a5893',
    950: '#000000',
  },
}
SCSS
$custom: #2a5893;
$custom-light: #7186b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5893",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 213.714,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.10901,
    "h": 255.8
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#2A5893
secondary
#B99260
accent
#9D49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5893

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

Preview Lab → · Contrast checker → · Palette generator →

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