#2A6DB1#2A6DB1

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

Color values

HEX#2A6DB1
RGBrgb(42, 109, 177)
HSLhsl(210, 62%, 43%)
HSVhsv(210, 76%, 69%)
CMYKcmyk(76.3%, 38.4%, 0%, 30.6%)
CIE-LABlab(45.08, 2.98, -42.15)
CIE-LCHlch(45.08, 42.26, 274.05°)
OKLaboklab(52.67% -0.0395 -0.1202)
OKLCHoklch(52.67% 0.127 251.8)
XYZxyz(14.3563, 14.6022, 43.6483)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DB1 #B16E2A
analogous
#2AB0B1 #2A6DB1 #2A2AB1
triadic
#2A6DB1 #B12A6D #6DB12A
tetradic
#2A6DB1 #B12AB0 #B16E2A #2AB12A
square
#2A6DB1 #B12AB0 #B16E2A #2AB12A
split-complementary
#2A6DB1 #B12A2A #B0B12A
monochromatic
#13304E #1E4F80 #2A6DB1 #458CD3 #77AADF

Accessibility & contrast

On white

5.36
#2A6DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2A6DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DB1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DB1#FFFFFF#000000##FFFFFF
##2A6DB11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B4
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6db1;
/* rgb */ color: rgb(42, 109, 177);
/* oklch */ color: oklch(52.7% 0.127 251.8);
Tailwind
colors: {
  custom: {
    50: '#7796c9',
    500: '#2a6db1',
    950: '#000000',
  },
}
SCSS
$custom: #2a6db1;
$custom-light: #7796c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6db1",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 177
  },
  "hsl": {
    "h": 210.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.12651,
    "h": 251.8
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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