#2A6DA8#2A6DA8

#2A6DA8 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.1% C 0.115 H 248.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2A6DA8
RGBrgb(42, 109, 168)
HSLhsl(208, 60%, 41%)
HSVhsv(208, 75%, 66%)
CMYKcmyk(75%, 35.1%, 0%, 34.1%)
CIE-LABlab(44.60, -0.39, -37.65)
CIE-LCHlch(44.60, 37.66, 269.41°)
OKLaboklab(52.13% -0.0419 -0.107)
OKLCHoklch(52.13% 0.115 248.6)
XYZxyz(13.4887, 14.2551, 39.0788)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DA8 #A8652A
analogous
#2AA8A4 #2A6DA8 #2A2EA8
triadic
#2A6DA8 #A82A6D #6DA82A
tetradic
#2A6DA8 #A42AA8 #A8652A #2EA82A
square
#2A6DA8 #A42AA8 #A8652A #2EA82A
split-complementary
#2A6DA8 #A82A2E #A8A42A
monochromatic
#122D46 #1E4D77 #2A6DA8 #408CCF #71AADB

Accessibility & contrast

On white

5.45
#2A6DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A6DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DA8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DA8#FFFFFF#000000##FFFFFF
##2A6DA81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#4064A7
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6da8;
/* rgb */ color: rgb(42, 109, 168);
/* oklch */ color: oklch(52.1% 0.115 248.6);
Tailwind
colors: {
  custom: {
    50: '#7596c2',
    500: '#2a6da8',
    950: '#000000',
  },
}
SCSS
$custom: #2a6da8;
$custom-light: #7596c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6da8",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 168
  },
  "hsl": {
    "h": 208.095,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.11493,
    "h": 248.6
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#2A6DA8
secondary
#C3946B
accent
#8F45E3
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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