#2A5EA1#2A5EA1

#2A5EA1 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.122 H 256.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2A5EA1
RGBrgb(42, 94, 161)
HSLhsl(214, 59%, 40%)
HSVhsv(214, 74%, 63%)
CMYKcmyk(73.9%, 41.6%, 0%, 36.9%)
CIE-LABlab(39.70, 6.42, -41.30)
CIE-LCHlch(39.70, 41.79, 278.84°)
OKLaboklab(48.18% -0.0294 -0.1179)
OKLCHoklch(48.18% 0.122 256)
XYZxyz(11.3882, 11.0696, 35.2478)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5EA1 #A16D2A
analogous
#2A99A1 #2A5EA1 #322AA1
triadic
#2A5EA1 #A12A5E #5EA12A
tetradic
#2A5EA1 #A12A99 #A16D2A #2AA132
square
#2A5EA1 #A12A99 #A16D2A #2AA132
split-complementary
#2A5EA1 #A1322A #99A12A
monochromatic
#112540 #1D4270 #2A5EA1 #3C7BCC #6D9CD9

Accessibility & contrast

On white

6.53
#2A5EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2A5EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5EA1
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5EA1#FFFFFF#000000##FFFFFF
##2A5EA11.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A4
Deuteranopia (green-blind)
#2A58A0
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5ea1;
/* rgb */ color: rgb(42, 94, 161);
/* oklch */ color: oklch(48.2% 0.122 256.0);
Tailwind
colors: {
  custom: {
    50: '#738bbd',
    500: '#2a5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ea1;
$custom-light: #738bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ea1",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 213.782,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48175,
    "c": 0.12155,
    "h": 256
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#2A5EA1
secondary
#C09967
accent
#9E46E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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