#2A5FA3#2A5FA3

#2A5FA3 is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.5% C 0.123 H 256.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2A5FA3
RGBrgb(42, 95, 163)
HSLhsl(214, 59%, 40%)
HSVhsv(214, 74%, 64%)
CMYKcmyk(74.2%, 41.7%, 0%, 36.1%)
CIE-LABlab(40.11, 6.54, -41.82)
CIE-LCHlch(40.11, 42.33, 278.89°)
OKLaboklab(48.54% -0.0299 -0.1195)
OKLCHoklch(48.54% 0.123 256)
XYZxyz(11.6555, 11.3197, 36.2139)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5FA3 #A36E2A
analogous
#2A9BA3 #2A5FA3 #322AA3
triadic
#2A5FA3 #A32A5F #5FA32A
tetradic
#2A5FA3 #A32A9B #A36E2A #2AA332
square
#2A5FA3 #A32A9B #A36E2A #2AA332
split-complementary
#2A5FA3 #A3322A #9BA32A
monochromatic
#112642 #1D4372 #2A5FA3 #3D7CCD #6E9DDA

Accessibility & contrast

On white

6.43
#2A5FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2A5FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5FA3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5FA3#FFFFFF#000000##FFFFFF
##2A5FA31.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#2A59A2
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a5fa3;
/* rgb */ color: rgb(42, 95, 163);
/* oklch */ color: oklch(48.5% 0.123 256.0);
Tailwind
colors: {
  custom: {
    50: '#748bbf',
    500: '#2a5fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2a5fa3;
$custom-light: #748bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5fa3",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 213.719,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.12314,
    "h": 256
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#2A5FA3
secondary
#C09A68
accent
#9E46E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A5FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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