#2A6DA2#2A6DA2

#2A6DA2 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.8% C 0.107 H 246.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2A6DA2
RGBrgb(42, 109, 162)
HSLhsl(207, 59%, 40%)
HSVhsv(207, 74%, 64%)
CMYKcmyk(74.1%, 32.7%, 0%, 36.5%)
CIE-LABlab(44.29, -2.62, -34.61)
CIE-LCHlch(44.29, 34.71, 265.68°)
OKLaboklab(51.79% -0.0437 -0.0981)
OKLCHoklch(51.79% 0.107 246)
XYZxyz(12.9426, 14.0367, 36.2027)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DA2 #A25F2A
analogous
#2AA29B #2A6DA2 #2A31A2
triadic
#2A6DA2 #A22A6D #6DA22A
tetradic
#2A6DA2 #9B2AA2 #A25F2A #31A22A
square
#2A6DA2 #9B2AA2 #A25F2A #31A22A
split-complementary
#2A6DA2 #A22A31 #A29B2A
monochromatic
#112C41 #1D4C71 #2A6DA2 #3D8DCD #6DAAD9

Accessibility & contrast

On white

5.52
#2A6DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2A6DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DA2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DA2#FFFFFF#000000##FFFFFF
##2A6DA21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#007A80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6da2;
/* rgb */ color: rgb(42, 109, 162);
/* oklch */ color: oklch(51.8% 0.107 246.0);
Tailwind
colors: {
  custom: {
    50: '#7496be',
    500: '#2a6da2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6da2;
$custom-light: #7496be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6da2",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 206.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.10743,
    "h": 246
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#2A6DA2
secondary
#C08F68
accent
#8B46E2
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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