#2A6FCD#2A6FCD

#2A6FCD is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.9% C 0.161 H 257.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A6FCD
RGBrgb(42, 111, 205)
HSLhsl(215, 66%, 48%)
HSVhsv(215, 80%, 80%)
CMYKcmyk(79.5%, 45.9%, 0%, 19.6%)
CIE-LABlab(47.32, 12.34, -54.75)
CIE-LCHlch(47.32, 56.12, 282.70°)
OKLaboklab(54.95% -0.0352 -0.1572)
OKLCHoklch(54.95% 0.161 257.4)
XYZxyz(17.6547, 16.2668, 59.9551)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FCD #CD882A
analogous
#2AC0CD #2A6FCD #362ACD
triadic
#2A6FCD #CD2A6F #6FCD2A
tetradic
#2A6FCD #CD2AC0 #CD882A #2ACD36
square
#2A6FCD #CD2AC0 #CD882A #2ACD36
split-complementary
#2A6FCD #CD362A #C0CD2A
monochromatic
#153867 #20539A #2A6FCD #5890DD #8AB2E7

Accessibility & contrast

On white

4.94
#2A6FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2A6FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FCD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FCD#FFFFFF#000000##FFFFFF
##2A6FCD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#1269CB
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a6fcd;
/* rgb */ color: rgb(42, 111, 205);
/* oklch */ color: oklch(54.9% 0.161 257.4);
Tailwind
colors: {
  custom: {
    50: '#7d97dd',
    500: '#2a6fcd',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fcd;
$custom-light: #7d97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fcd",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 214.601,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.16107,
    "h": 257.4
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#2A6FCD
secondary
#D1AF82
accent
#A13FE9
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2A6FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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