#2A5FA2#2A5FA2

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

Color values

HEX#2A5FA2
RGBrgb(42, 95, 162)
HSLhsl(214, 59%, 40%)
HSVhsv(214, 74%, 64%)
CMYKcmyk(74.1%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.05, 6.16, -41.32)
CIE-LCHlch(40.05, 41.78, 278.48°)
OKLaboklab(48.47% -0.0301 -0.118)
OKLCHoklch(48.47% 0.122 255.7)
XYZxyz(11.5662, 11.2840, 35.7439)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5FA2 #A26D2A
analogous
#2A9BA2 #2A5FA2 #312AA2
triadic
#2A5FA2 #A22A5F #5FA22A
tetradic
#2A5FA2 #A22A9B #A26D2A #2AA231
square
#2A5FA2 #A22A9B #A26D2A #2AA231
split-complementary
#2A5FA2 #A2312A #9BA22A
monochromatic
#112641 #1D4271 #2A5FA2 #3D7CCD #6D9DD9

Accessibility & contrast

On white

6.45
#2A5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5FA2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5FA2#FFFFFF#000000##FFFFFF
##2A5FA21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#2B59A1
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5fa2;
/* rgb */ color: rgb(42, 95, 162);
/* oklch */ color: oklch(48.5% 0.122 255.7);
Tailwind
colors: {
  custom: {
    50: '#748bbe',
    500: '#2a5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2a5fa2;
$custom-light: #748bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5fa2",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 213.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.48472,
    "c": 0.12177,
    "h": 255.7
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#2A5FA2
secondary
#C09968
accent
#9D46E2
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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