#2A6FB4#2A6FB4

#2A6FB4 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.3% C 0.128 H 251.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2A6FB4
RGBrgb(42, 111, 180)
HSLhsl(210, 62%, 44%)
HSVhsv(210, 77%, 71%)
CMYKcmyk(76.7%, 38.3%, 0%, 29.4%)
CIE-LABlab(45.85, 2.87, -42.69)
CIE-LCHlch(45.85, 42.79, 273.85°)
OKLaboklab(53.32% -0.0406 -0.1217)
OKLCHoklch(53.32% 0.128 251.6)
XYZxyz(14.8744, 15.1547, 45.3124)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FB4 #B46F2A
analogous
#2AB4B4 #2A6FB4 #2A2AB4
triadic
#2A6FB4 #B42A6F #6FB42A
tetradic
#2A6FB4 #B42AB4 #B46F2A #2AB42A
square
#2A6FB4 #B42AB4 #B46F2A #2AB42A
split-complementary
#2A6FB4 #B42A2A #B4B42A
monochromatic
#133251 #1E5082 #2A6FB4 #478ED4 #79ACE0

Accessibility & contrast

On white

5.21
#2A6FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2A6FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FB4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FB4#FFFFFF#000000##FFFFFF
##2A6FB41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B7
Deuteranopia (green-blind)
#3967B3
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6fb4;
/* rgb */ color: rgb(42, 111, 180);
/* oklch */ color: oklch(53.3% 0.128 251.6);
Tailwind
colors: {
  custom: {
    50: '#7797cb',
    500: '#2a6fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fb4;
$custom-light: #7797cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fb4",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 180
  },
  "hsl": {
    "h": 210,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53322,
    "c": 0.12831,
    "h": 251.6
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#2A6FB4
secondary
#C89D72
accent
#9443E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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