#2A5CA1#2A5CA1

#2A5CA1 is a mid, vivid cyan. Relative luminance 0.107; OKLCH L 47.7% C 0.124 H 257.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2A5CA1
RGBrgb(42, 92, 161)
HSLhsl(215, 59%, 40%)
HSVhsv(215, 74%, 63%)
CMYKcmyk(73.9%, 42.9%, 0%, 36.9%)
CIE-LABlab(39.10, 7.71, -42.25)
CIE-LCHlch(39.10, 42.94, 280.35°)
OKLaboklab(47.71% -0.0275 -0.1208)
OKLCHoklch(47.71% 0.124 257.2)
XYZxyz(11.2127, 10.7185, 35.1892)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5CA1 #A16F2A
analogous
#2A98A1 #2A5CA1 #342AA1
triadic
#2A5CA1 #A12A5C #5CA12A
tetradic
#2A5CA1 #A12A98 #A16F2A #2AA134
square
#2A5CA1 #A12A98 #A16F2A #2AA134
split-complementary
#2A5CA1 #A1342A #98A12A
monochromatic
#112540 #1D4070 #2A5CA1 #3C79CC #6D9AD9

Accessibility & contrast

On white

6.68
#2A5CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5CA1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5CA1#FFFFFF#000000##FFFFFF
##2A5CA11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B62A4
Deuteranopia (green-blind)
#2657A0
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5ca1;
/* rgb */ color: rgb(42, 92, 161);
/* oklch */ color: oklch(47.7% 0.124 257.2);
Tailwind
colors: {
  custom: {
    50: '#7489bd',
    500: '#2a5ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ca1;
$custom-light: #7489bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ca1",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 214.79,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47713,
    "c": 0.12386,
    "h": 257.2
  },
  "luminance": 0.1072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A5CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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