#2A6DB3#2A6DB3

#2A6DB3 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.8% C 0.129 H 252.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2A6DB3
RGBrgb(42, 109, 179)
HSLhsl(211, 62%, 43%)
HSVhsv(211, 77%, 70%)
CMYKcmyk(76.5%, 39.1%, 0%, 29.8%)
CIE-LABlab(45.20, 3.74, -43.14)
CIE-LCHlch(45.20, 43.30, 274.95°)
OKLaboklab(52.8% -0.039 -0.1231)
OKLCHoklch(52.8% 0.129 252.4)
XYZxyz(14.5571, 14.6825, 44.7059)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DB3 #B3702A
analogous
#2AB1B3 #2A6DB3 #2B2AB3
triadic
#2A6DB3 #B32A6D #6DB32A
tetradic
#2A6DB3 #B32AB1 #B3702A #2AB32B
square
#2A6DB3 #B32AB1 #B3702A #2AB32B
split-complementary
#2A6DB3 #B32B2A #B1B32A
monochromatic
#133150 #1E4F81 #2A6DB3 #468CD4 #78ABDF

Accessibility & contrast

On white

5.33
#2A6DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2A6DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DB3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DB3#FFFFFF#000000##FFFFFF
##2A6DB31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6db3;
/* rgb */ color: rgb(42, 109, 179);
/* oklch */ color: oklch(52.8% 0.129 252.4);
Tailwind
colors: {
  custom: {
    50: '#7796ca',
    500: '#2a6db3',
    950: '#000000',
  },
}
SCSS
$custom: #2a6db3;
$custom-light: #7796ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6db3",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 179
  },
  "hsl": {
    "h": 210.657,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.12912,
    "h": 252.4
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#2A6DB3
secondary
#C79D72
accent
#9643E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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