#2A6CA2#2A6CA2

#2A6CA2 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.5% C 0.108 H 246.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2A6CA2
RGBrgb(42, 108, 162)
HSLhsl(207, 59%, 40%)
HSVhsv(207, 74%, 64%)
CMYKcmyk(74.1%, 33.3%, 0%, 36.5%)
CIE-LABlab(43.98, -2.00, -35.10)
CIE-LCHlch(43.98, 35.15, 266.73°)
OKLaboklab(51.54% -0.0427 -0.0996)
OKLCHoklch(51.54% 0.108 246.8)
XYZxyz(12.8365, 13.8245, 36.1673)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CA2 #A2602A
analogous
#2AA29C #2A6CA2 #2A30A2
triadic
#2A6CA2 #A22A6C #6CA22A
tetradic
#2A6CA2 #9C2AA2 #A2602A #30A22A
square
#2A6CA2 #9C2AA2 #A2602A #30A22A
split-complementary
#2A6CA2 #A22A30 #A29C2A
monochromatic
#112B41 #1D4C71 #2A6CA2 #3D8CCD #6DA9D9

Accessibility & contrast

On white

5.58
#2A6CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2A6CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CA2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CA2#FFFFFF#000000##FFFFFF
##2A6CA21.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#4263A1
Tritanopia (blue-blind)
#00797F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6ca2;
/* rgb */ color: rgb(42, 108, 162);
/* oklch */ color: oklch(51.5% 0.108 246.8);
Tailwind
colors: {
  custom: {
    50: '#7495be',
    500: '#2a6ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ca2;
$custom-light: #7495be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ca2",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 207,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51544,
    "c": 0.10832,
    "h": 246.8
  },
  "luminance": 0.13826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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