#2A6BA2#2A6BA2

#2A6BA2 is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.3% C 0.109 H 247.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2A6BA2
RGBrgb(42, 107, 162)
HSLhsl(208, 59%, 40%)
HSVhsv(208, 74%, 64%)
CMYKcmyk(74.1%, 34%, 0%, 36.5%)
CIE-LABlab(43.68, -1.39, -35.58)
CIE-LCHlch(43.68, 35.60, 267.76°)
OKLaboklab(51.31% -0.0417 -0.101)
OKLCHoklch(51.31% 0.109 247.6)
XYZxyz(12.7316, 13.6148, 36.1323)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BA2 #A2612A
analogous
#2AA29D #2A6BA2 #2A2FA2
triadic
#2A6BA2 #A22A6B #6BA22A
tetradic
#2A6BA2 #9D2AA2 #A2612A #2FA22A
square
#2A6BA2 #9D2AA2 #A2612A #2FA22A
split-complementary
#2A6BA2 #A22A2F #A29D2A
monochromatic
#112B41 #1D4B71 #2A6BA2 #3D8BCD #6DA8D9

Accessibility & contrast

On white

5.64
#2A6BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2A6BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BA2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BA2#FFFFFF#000000##FFFFFF
##2A6BA21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#00787F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a6ba2;
/* rgb */ color: rgb(42, 107, 162);
/* oklch */ color: oklch(51.3% 0.109 247.6);
Tailwind
colors: {
  custom: {
    50: '#7495be',
    500: '#2a6ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ba2;
$custom-light: #7495be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ba2",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 162
  },
  "hsl": {
    "h": 207.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51305,
    "c": 0.10925,
    "h": 247.6
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#2A6BA2
secondary
#C09068
accent
#8D46E2
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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