#2A5FA1#2A5FA1

#2A5FA1 is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.4% C 0.120 H 255.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2A5FA1
RGBrgb(42, 95, 161)
HSLhsl(213, 59%, 40%)
HSVhsv(213, 74%, 63%)
CMYKcmyk(73.9%, 41%, 0%, 36.9%)
CIE-LABlab(40.00, 5.78, -40.82)
CIE-LCHlch(40.00, 41.23, 278.06°)
OKLaboklab(48.41% -0.0303 -0.1165)
OKLCHoklch(48.41% 0.12 255.4)
XYZxyz(11.4777, 11.2486, 35.2776)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5FA1 #A16C2A
analogous
#2A9BA1 #2A5FA1 #302AA1
triadic
#2A5FA1 #A12A5F #5FA12A
tetradic
#2A5FA1 #A12A9B #A16C2A #2AA130
square
#2A5FA1 #A12A9B #A16C2A #2AA130
split-complementary
#2A5FA1 #A1302A #9BA12A
monochromatic
#112640 #1D4270 #2A5FA1 #3C7CCC #6D9DD9

Accessibility & contrast

On white

6.46
#2A5FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2A5FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5FA1
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5FA1#FFFFFF#000000##FFFFFF
##2A5FA11.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A4
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5fa1;
/* rgb */ color: rgb(42, 95, 161);
/* oklch */ color: oklch(48.4% 0.120 255.4);
Tailwind
colors: {
  custom: {
    50: '#738bbd',
    500: '#2a5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2a5fa1;
$custom-light: #738bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5fa1",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 213.277,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48407,
    "c": 0.12041,
    "h": 255.4
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#2A5FA1
secondary
#C09867
accent
#9C46E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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