#2A6DB5#2A6DB5

#2A6DB5 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 52.9% C 0.132 H 253.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2A6DB5
RGBrgb(42, 109, 181)
HSLhsl(211, 62%, 44%)
HSVhsv(211, 77%, 71%)
CMYKcmyk(76.8%, 39.8%, 0%, 29%)
CIE-LABlab(45.31, 4.49, -44.12)
CIE-LCHlch(45.31, 44.35, 275.82°)
OKLaboklab(52.92% -0.0385 -0.126)
OKLCHoklch(52.92% 0.132 253)
XYZxyz(14.7609, 14.7640, 45.7789)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DB5 #B5722A
analogous
#2AB2B5 #2A6DB5 #2C2AB5
triadic
#2A6DB5 #B52A6D #6DB52A
tetradic
#2A6DB5 #B52AB2 #B5722A #2AB52C
square
#2A6DB5 #B52AB2 #B5722A #2AB52C
split-complementary
#2A6DB5 #B52C2A #B2B52A
monochromatic
#133152 #1E4F83 #2A6DB5 #488CD4 #79ABE0

Accessibility & contrast

On white

5.31
#2A6DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2A6DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DB5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DB5#FFFFFF#000000##FFFFFF
##2A6DB51.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#3465B4
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6db5;
/* rgb */ color: rgb(42, 109, 181);
/* oklch */ color: oklch(52.9% 0.132 253.0);
Tailwind
colors: {
  custom: {
    50: '#7896cb',
    500: '#2a6db5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6db5;
$custom-light: #7896cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6db5",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 181
  },
  "hsl": {
    "h": 211.079,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52922,
    "c": 0.13174,
    "h": 253
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

primary
#2A6DB5
secondary
#C89F73
accent
#9742E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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