#2A6EA7#2A6EA7

#2A6EA7 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.3% C 0.113 H 247.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2A6EA7
RGBrgb(42, 110, 167)
HSLhsl(207, 60%, 41%)
HSVhsv(207, 75%, 65%)
CMYKcmyk(74.9%, 34.1%, 0%, 34.5%)
CIE-LABlab(44.85, -1.37, -36.67)
CIE-LCHlch(44.85, 36.70, 267.85°)
OKLaboklab(52.31% -0.0432 -0.1041)
OKLCHoklch(52.31% 0.113 247.5)
XYZxyz(13.5032, 14.4326, 38.6258)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EA7 #A7632A
analogous
#2AA7A1 #2A6EA7 #2A2FA7
triadic
#2A6EA7 #A72A6E #6EA72A
tetradic
#2A6EA7 #A12AA7 #A7632A #2FA72A
square
#2A6EA7 #A12AA7 #A7632A #2FA72A
split-complementary
#2A6EA7 #A72A2F #A7A12A
monochromatic
#112E45 #1E4E76 #2A6EA7 #3F8DCF #70AADB

Accessibility & contrast

On white

5.40
#2A6EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2A6EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EA7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EA7#FFFFFF#000000##FFFFFF
##2A6EA71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5471A9
Deuteranopia (green-blind)
#4265A6
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6ea7;
/* rgb */ color: rgb(42, 110, 167);
/* oklch */ color: oklch(52.3% 0.113 247.5);
Tailwind
colors: {
  custom: {
    50: '#7597c1',
    500: '#2a6ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ea7;
$custom-light: #7597c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ea7",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 207.36,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.11272,
    "h": 247.5
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#2A6EA7
secondary
#C2936B
accent
#8D45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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