#2A5EA4#2A5EA4

#2A5EA4 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.4% C 0.126 H 256.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2A5EA4
RGBrgb(42, 94, 164)
HSLhsl(214, 59%, 40%)
HSVhsv(214, 74%, 64%)
CMYKcmyk(74.4%, 42.7%, 0%, 35.7%)
CIE-LABlab(39.88, 7.57, -42.79)
CIE-LCHlch(39.88, 43.46, 280.02°)
OKLaboklab(48.37% -0.0287 -0.1223)
OKLCHoklch(48.37% 0.126 256.8)
XYZxyz(11.6559, 11.1767, 36.6578)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5EA4 #A4702A
analogous
#2A9BA4 #2A5EA4 #332AA4
triadic
#2A5EA4 #A42A5E #5EA42A
tetradic
#2A5EA4 #A42A9B #A4702A #2AA433
square
#2A5EA4 #A42A9B #A4702A #2AA433
split-complementary
#2A5EA4 #A4332A #9BA42A
monochromatic
#112643 #1E4273 #2A5EA4 #3E7BCD #6E9CDA

Accessibility & contrast

On white

6.49
#2A5EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2A5EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5EA4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5EA4#FFFFFF#000000##FFFFFF
##2A5EA41.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#2759A3
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5ea4;
/* rgb */ color: rgb(42, 94, 164);
/* oklch */ color: oklch(48.4% 0.126 256.8);
Tailwind
colors: {
  custom: {
    50: '#748bbf',
    500: '#2a5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ea4;
$custom-light: #748bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ea4",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 214.426,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48372,
    "c": 0.12567,
    "h": 256.8
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#2A5EA4
secondary
#C19B69
accent
#9F45E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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