#2A6CBD#2A6CBD

#2A6CBD is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.143 H 255.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A6CBD
RGBrgb(42, 108, 189)
HSLhsl(213, 64%, 45%)
HSVhsv(213, 78%, 74%)
CMYKcmyk(77.8%, 42.9%, 0%, 25.9%)
CIE-LABlab(45.48, 8.15, -48.49)
CIE-LCHlch(45.48, 49.17, 279.55°)
OKLaboklab(53.21% -0.0358 -0.1388)
OKLCHoklch(53.21% 0.143 255.5)
XYZxyz(15.4993, 14.8897, 50.1914)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CBD #BD7B2A
analogous
#2AB5BD #2A6CBD #312ABD
triadic
#2A6CBD #BD2A6C #6CBD2A
tetradic
#2A6CBD #BD2AB5 #BD7B2A #2ABD31
square
#2A6CBD #BD2AB5 #BD7B2A #2ABD31
split-complementary
#2A6CBD #BD312A #B5BD2A
monochromatic
#143359 #1F4F8B #2A6CBD #4D8BD7 #7FACE3

Accessibility & contrast

On white

5.28
#2A6CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2A6CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CBD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CBD#FFFFFF#000000##FFFFFF
##2A6CBD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6cbd;
/* rgb */ color: rgb(42, 108, 189);
/* oklch */ color: oklch(53.2% 0.143 255.5);
Tailwind
colors: {
  custom: {
    50: '#7995d1',
    500: '#2a6cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cbd;
$custom-light: #7995d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cbd",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 189
  },
  "hsl": {
    "h": 213.061,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.14337,
    "h": 255.5
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#2A6CBD
secondary
#CBA678
accent
#9C41E7
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2A6CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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