#2A5C93#2A5C93

#2A5C93 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.105 H 252.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2A5C93
RGBrgb(42, 92, 147)
HSLhsl(211, 56%, 37%)
HSVhsv(211, 71%, 58%)
CMYKcmyk(71.4%, 37.4%, 0%, 42.4%)
CIE-LABlab(38.29, 2.40, -35.14)
CIE-LCHlch(38.29, 35.23, 273.90°)
OKLaboklab(46.82% -0.0309 -0.0999)
OKLCHoklch(46.82% 0.105 252.8)
XYZxyz(10.0465, 10.2520, 29.0475)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C93 #93612A
analogous
#2A9193 #2A5C93 #2D2A93
triadic
#2A5C93 #932A5C #5C932A
tetradic
#2A5C93 #932A91 #93612A #2A932D
square
#2A5C93 #932A91 #93612A #2A932D
split-complementary
#2A5C93 #932D2A #91932A
monochromatic
#0F2034 #1C3E63 #2A5C93 #387AC3 #6599D3

Accessibility & contrast

On white

6.88
#2A5C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2A5C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5C93
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C93#FFFFFF#000000##FFFFFF
##2A5C931.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436095
Deuteranopia (green-blind)
#345692
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5c93;
/* rgb */ color: rgb(42, 92, 147);
/* oklch */ color: oklch(46.8% 0.105 252.8);
Tailwind
colors: {
  custom: {
    50: '#7189b3',
    500: '#2a5c93',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c93;
$custom-light: #7189b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c93",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 147
  },
  "hsl": {
    "h": 211.429,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46818,
    "c": 0.1046,
    "h": 252.8
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#2A5C93
secondary
#B98F60
accent
#9749DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5C93

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

Preview Lab → · Contrast checker → · Palette generator →

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