#2A6FB5#2A6FB5

#2A6FB5 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.130 H 251.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2A6FB5
RGBrgb(42, 111, 181)
HSLhsl(210, 62%, 44%)
HSVhsv(210, 77%, 71%)
CMYKcmyk(76.8%, 38.7%, 0%, 29%)
CIE-LABlab(45.90, 3.25, -43.18)
CIE-LCHlch(45.90, 43.30, 274.30°)
OKLaboklab(53.38% -0.0403 -0.1232)
OKLCHoklch(53.38% 0.13 251.9)
XYZxyz(14.9766, 15.1956, 45.8508)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FB5 #B5702A
analogous
#2AB4B5 #2A6FB5 #2A2AB5
triadic
#2A6FB5 #B52A6F #6FB52A
tetradic
#2A6FB5 #B52AB4 #B5702A #2AB52A
square
#2A6FB5 #B52AB4 #B5702A #2AB52A
split-complementary
#2A6FB5 #B52A2A #B4B52A
monochromatic
#133252 #1E5183 #2A6FB5 #488ED4 #79ACE0

Accessibility & contrast

On white

5.20
#2A6FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2A6FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FB5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FB5#FFFFFF#000000##FFFFFF
##2A6FB51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#3867B4
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6fb5;
/* rgb */ color: rgb(42, 111, 181);
/* oklch */ color: oklch(53.4% 0.130 251.9);
Tailwind
colors: {
  custom: {
    50: '#7897cb',
    500: '#2a6fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fb5;
$custom-light: #7897cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fb5",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 181
  },
  "hsl": {
    "h": 210.216,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.12961,
    "h": 251.9
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#2A6FB5
secondary
#C89E73
accent
#9442E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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