#2A6CB0#2A6CB0

#2A6CB0 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.4% C 0.126 H 252.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A6CB0
RGBrgb(42, 108, 176)
HSLhsl(210, 61%, 43%)
HSVhsv(210, 76%, 69%)
CMYKcmyk(76.1%, 38.6%, 0%, 31%)
CIE-LABlab(44.73, 3.23, -42.13)
CIE-LCHlch(44.73, 42.25, 274.39°)
OKLaboklab(52.38% -0.0388 -0.1201)
OKLCHoklch(52.38% 0.126 252.1)
XYZxyz(14.1509, 14.3503, 43.0900)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CB0 #B06E2A
analogous
#2AAFB0 #2A6CB0 #2B2AB0
triadic
#2A6CB0 #B02A6C #6CB02A
tetradic
#2A6CB0 #B02AAF #B06E2A #2AB02B
square
#2A6CB0 #B02AAF #B06E2A #2AB02B
split-complementary
#2A6CB0 #B02B2A #AFB02A
monochromatic
#122F4D #1E4E7F #2A6CB0 #458BD3 #76A9DE

Accessibility & contrast

On white

5.43
#2A6CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2A6CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CB0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CB0#FFFFFF#000000##FFFFFF
##2A6CB01.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B3
Deuteranopia (green-blind)
#3764AF
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6cb0;
/* rgb */ color: rgb(42, 108, 176);
/* oklch */ color: oklch(52.4% 0.126 252.1);
Tailwind
colors: {
  custom: {
    50: '#7695c8',
    500: '#2a6cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cb0;
$custom-light: #7695c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cb0",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 176
  },
  "hsl": {
    "h": 210.448,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.12626,
    "h": 252.1
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#2A6CB0
secondary
#C69C70
accent
#9543E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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