#2A6DC9#2A6DC9

#2A6DC9 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.2% C 0.158 H 257.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2A6DC9
RGBrgb(42, 109, 201)
HSLhsl(215, 65%, 48%)
HSVhsv(215, 79%, 79%)
CMYKcmyk(79.1%, 45.8%, 0%, 21.2%)
CIE-LABlab(46.50, 12.09, -53.77)
CIE-LCHlch(46.50, 55.11, 282.67°)
OKLaboklab(54.24% -0.0343 -0.1543)
OKLCHoklch(54.24% 0.158 257.5)
XYZxyz(16.9622, 15.6445, 57.3727)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DC9 #C9862A
analogous
#2ABCC9 #2A6DC9 #372AC9
triadic
#2A6DC9 #C92A6D #6DC92A
tetradic
#2A6DC9 #C92ABC #C9862A #2AC937
square
#2A6DC9 #C92ABC #C9862A #2AC937
split-complementary
#2A6DC9 #C9372A #BCC92A
monochromatic
#153664 #1F5296 #2A6DC9 #558EDB #87AFE6

Accessibility & contrast

On white

5.09
#2A6DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A6DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DC9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DC9#FFFFFF#000000##FFFFFF
##2A6DC91.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CC
Deuteranopia (green-blind)
#1467C7
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a6dc9;
/* rgb */ color: rgb(42, 109, 201);
/* oklch */ color: oklch(54.2% 0.158 257.5);
Tailwind
colors: {
  custom: {
    50: '#7c96da',
    500: '#2a6dc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a6dc9;
$custom-light: #7c96da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6dc9",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 201
  },
  "hsl": {
    "h": 214.717,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.15811,
    "h": 257.5
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#2A6DC9
secondary
#D0AE7F
accent
#A13FE8
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2A6DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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