#2A6DBF#2A6DBF

#2A6DBF is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.6% C 0.145 H 255.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2A6DBF
RGBrgb(42, 109, 191)
HSLhsl(213, 64%, 46%)
HSVhsv(213, 78%, 75%)
CMYKcmyk(78%, 42.9%, 0%, 25.1%)
CIE-LABlab(45.89, 8.28, -48.99)
CIE-LCHlch(45.89, 49.69, 279.60°)
OKLaboklab(53.57% -0.0363 -0.1403)
OKLCHoklch(53.57% 0.145 255.5)
XYZxyz(15.8240, 15.1892, 51.3779)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DBF #BF7C2A
analogous
#2AB7BF #2A6DBF #312ABF
triadic
#2A6DBF #BF2A6D #6DBF2A
tetradic
#2A6DBF #BF2AB7 #BF7C2A #2ABF31
square
#2A6DBF #BF2AB7 #BF7C2A #2ABF31
split-complementary
#2A6DBF #BF312A #B7BF2A
monochromatic
#14345B #1F508D #2A6DBF #4E8CD8 #80ADE3

Accessibility & contrast

On white

5.20
#2A6DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2A6DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DBF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DBF#FFFFFF#000000##FFFFFF
##2A6DBF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6dbf;
/* rgb */ color: rgb(42, 109, 191);
/* oklch */ color: oklch(53.6% 0.145 255.5);
Tailwind
colors: {
  custom: {
    50: '#7a96d3',
    500: '#2a6dbf',
    950: '#000000',
  },
}
SCSS
$custom: #2a6dbf;
$custom-light: #7a96d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6dbf",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 191
  },
  "hsl": {
    "h": 213.02,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53565,
    "c": 0.1449,
    "h": 255.5
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#2A6DBF
secondary
#CCA779
accent
#9C41E7
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A6DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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