#2A5EA3#2A5EA3

#2A5EA3 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.3% C 0.124 H 256.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2A5EA3
RGBrgb(42, 94, 163)
HSLhsl(214, 59%, 40%)
HSVhsv(214, 74%, 64%)
CMYKcmyk(74.2%, 42.3%, 0%, 36.1%)
CIE-LABlab(39.82, 7.18, -42.30)
CIE-LCHlch(39.82, 42.90, 279.64°)
OKLaboklab(48.31% -0.0289 -0.1209)
OKLCHoklch(48.31% 0.124 256.5)
XYZxyz(11.5660, 11.1407, 36.1840)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5EA3 #A36F2A
analogous
#2A9AA3 #2A5EA3 #332AA3
triadic
#2A5EA3 #A32A5E #5EA32A
tetradic
#2A5EA3 #A32A9A #A36F2A #2AA333
square
#2A5EA3 #A32A9A #A36F2A #2AA333
split-complementary
#2A5EA3 #A3332A #9AA32A
monochromatic
#112642 #1D4272 #2A5EA3 #3D7BCD #6E9CDA

Accessibility & contrast

On white

6.50
#2A5EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2A5EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5EA3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5EA3#FFFFFF#000000##FFFFFF
##2A5EA31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A6
Deuteranopia (green-blind)
#2859A2
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5ea3;
/* rgb */ color: rgb(42, 94, 163);
/* oklch */ color: oklch(48.3% 0.124 256.5);
Tailwind
colors: {
  custom: {
    50: '#748bbf',
    500: '#2a5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ea3;
$custom-light: #748bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ea3",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 214.215,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48306,
    "c": 0.12429,
    "h": 256.5
  },
  "luminance": 0.11142
}

Semantic roles & 50–950 ramp

primary
#2A5EA3
secondary
#C09B68
accent
#9F46E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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