#2A5CA0#2A5CA0

#2A5CA0 is a mid, vivid cyan. Relative luminance 0.107; OKLCH L 47.6% C 0.122 H 256.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2A5CA0
RGBrgb(42, 92, 160)
HSLhsl(215, 58%, 40%)
HSVhsv(215, 74%, 63%)
CMYKcmyk(73.8%, 42.5%, 0%, 37.3%)
CIE-LABlab(39.04, 7.33, -41.75)
CIE-LCHlch(39.04, 42.38, 279.96°)
OKLaboklab(47.65% -0.0277 -0.1193)
OKLCHoklch(47.65% 0.122 256.9)
XYZxyz(11.1248, 10.6834, 34.7267)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5CA0 #A06E2A
analogous
#2A97A0 #2A5CA0 #332AA0
triadic
#2A5CA0 #A02A5C #5CA02A
tetradic
#2A5CA0 #A02A97 #A06E2A #2AA033
square
#2A5CA0 #A02A97 #A06E2A #2AA033
split-complementary
#2A5CA0 #A0332A #97A02A
monochromatic
#11243F #1D4070 #2A5CA0 #3C79CC #6C9AD8

Accessibility & contrast

On white

6.69
#2A5CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2A5CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5CA0
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5CA0#FFFFFF#000000##FFFFFF
##2A5CA01.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B62A3
Deuteranopia (green-blind)
#27579F
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5ca0;
/* rgb */ color: rgb(42, 92, 160);
/* oklch */ color: oklch(47.6% 0.122 256.9);
Tailwind
colors: {
  custom: {
    50: '#7389bc',
    500: '#2a5ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ca0;
$custom-light: #7389bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ca0",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 214.576,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.12247,
    "h": 256.9
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

primary
#2A5CA0
secondary
#BF9A67
accent
#A046E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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