#2A6BAE#2A6BAE

#2A6BAE is a mid, vivid cyan. Relative luminance 0.141; OKLCH L 52.0% C 0.125 H 252.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2A6BAE
RGBrgb(42, 107, 174)
HSLhsl(210, 61%, 42%)
HSVhsv(210, 76%, 68%)
CMYKcmyk(75.9%, 38.5%, 0%, 31.8%)
CIE-LABlab(44.32, 3.10, -41.61)
CIE-LCHlch(44.32, 41.72, 274.26°)
OKLaboklab(52.02% -0.0384 -0.1186)
OKLCHoklch(52.02% 0.125 252.1)
XYZxyz(13.8497, 14.0620, 42.0205)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BAE #AE6D2A
analogous
#2AADAE #2A6BAE #2B2AAE
triadic
#2A6BAE #AE2A6B #6BAE2A
tetradic
#2A6BAE #AE2AAD #AE6D2A #2AAE2B
square
#2A6BAE #AE2AAD #AE6D2A #2AAE2B
split-complementary
#2A6BAE #AE2B2A #ADAE2A
monochromatic
#122E4B #1E4D7D #2A6BAE #438AD2 #75A8DE

Accessibility & contrast

On white

5.51
#2A6BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6BAE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BAE#FFFFFF#000000##FFFFFF
##2A6BAE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB1
Deuteranopia (green-blind)
#3763AD
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6bae;
/* rgb */ color: rgb(42, 107, 174);
/* oklch */ color: oklch(52.0% 0.125 252.1);
Tailwind
colors: {
  custom: {
    50: '#7694c6',
    500: '#2a6bae',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bae;
$custom-light: #7694c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bae",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 174
  },
  "hsl": {
    "h": 210.455,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.1247,
    "h": 252.1
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#2A6BAE
secondary
#C59B6F
accent
#9544E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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