#2A6CB5#2A6CB5

#2A6CB5 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.133 H 253.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A6CB5
RGBrgb(42, 108, 181)
HSLhsl(212, 62%, 44%)
HSVhsv(212, 77%, 71%)
CMYKcmyk(76.8%, 40.3%, 0%, 29%)
CIE-LABlab(45.01, 5.12, -44.59)
CIE-LCHlch(45.01, 44.89, 276.55°)
OKLaboklab(52.69% -0.0376 -0.1274)
OKLCHoklch(52.69% 0.133 253.5)
XYZxyz(14.6548, 14.5519, 45.7435)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CB5 #B5732A
analogous
#2AB1B5 #2A6CB5 #2D2AB5
triadic
#2A6CB5 #B52A6C #6CB52A
tetradic
#2A6CB5 #B52AB1 #B5732A #2AB52D
square
#2A6CB5 #B52AB1 #B5732A #2AB52D
split-complementary
#2A6CB5 #B52D2A #B1B52A
monochromatic
#133152 #1E4E83 #2A6CB5 #488BD4 #79AAE0

Accessibility & contrast

On white

5.37
#2A6CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2A6CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CB5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CB5#FFFFFF#000000##FFFFFF
##2A6CB51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B8
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6cb5;
/* rgb */ color: rgb(42, 108, 181);
/* oklch */ color: oklch(52.7% 0.133 253.5);
Tailwind
colors: {
  custom: {
    50: '#7895cb',
    500: '#2a6cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cb5;
$custom-light: #7895cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cb5",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 211.511,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.13281,
    "h": 253.5
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

primary
#2A6CB5
secondary
#C8A073
accent
#9842E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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