#2A6CAC#2A6CAC

#2A6CAC is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.1% C 0.121 H 250.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2A6CAC
RGBrgb(42, 108, 172)
HSLhsl(210, 61%, 42%)
HSVhsv(210, 76%, 67%)
CMYKcmyk(75.6%, 37.2%, 0%, 32.5%)
CIE-LABlab(44.51, 1.73, -40.14)
CIE-LCHlch(44.51, 40.18, 272.46°)
OKLaboklab(52.13% -0.0399 -0.1143)
OKLCHoklch(52.13% 0.121 250.8)
XYZxyz(13.7610, 14.1943, 41.0363)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CAC #AC6A2A
analogous
#2AACAB #2A6CAC #2A2BAC
triadic
#2A6CAC #AC2A6C #6CAC2A
tetradic
#2A6CAC #AB2AAC #AC6A2A #2BAC2A
square
#2A6CAC #AB2AAC #AC6A2A #2BAC2A
split-complementary
#2A6CAC #AC2A2B #ACAB2A
monochromatic
#122E4A #1E4D7B #2A6CAC #428BD1 #73A9DD

Accessibility & contrast

On white

5.47
#2A6CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2A6CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CAC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CAC#FFFFFF#000000##FFFFFF
##2A6CAC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E70AF
Deuteranopia (green-blind)
#3B64AB
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6cac;
/* rgb */ color: rgb(42, 108, 172);
/* oklch */ color: oklch(52.1% 0.121 250.8);
Tailwind
colors: {
  custom: {
    50: '#7695c5',
    500: '#2a6cac',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cac;
$custom-light: #7695c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cac",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 172
  },
  "hsl": {
    "h": 209.538,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.12105,
    "h": 250.8
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#2A6CAC
secondary
#C4986D
accent
#9344E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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