#2A6EAA#2A6EAA

#2A6EAA is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.5% C 0.117 H 248.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A6EAA
RGBrgb(42, 110, 170)
HSLhsl(208, 60%, 42%)
HSVhsv(208, 75%, 67%)
CMYKcmyk(75.3%, 35.3%, 0%, 33.3%)
CIE-LABlab(45.00, -0.26, -38.18)
CIE-LCHlch(45.00, 38.18, 269.61°)
OKLaboklab(52.49% -0.0423 -0.1085)
OKLCHoklch(52.49% 0.117 248.7)
XYZxyz(13.7837, 14.5448, 40.1034)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EAA #AA662A
analogous
#2AAAA6 #2A6EAA #2A2EAA
triadic
#2A6EAA #AA2A6E #6EAA2A
tetradic
#2A6EAA #A62AAA #AA662A #2EAA2A
square
#2A6EAA #A62AAA #AA662A #2EAA2A
split-complementary
#2A6EAA #AA2A2E #AAA62A
monochromatic
#122E48 #1E4E79 #2A6EAA #418DD0 #72ABDC

Accessibility & contrast

On white

5.37
#2A6EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2A6EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EAA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EAA#FFFFFF#000000##FFFFFF
##2A6EAA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5271AD
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6eaa;
/* rgb */ color: rgb(42, 110, 170);
/* oklch */ color: oklch(52.5% 0.117 248.7);
Tailwind
colors: {
  custom: {
    50: '#7597c3',
    500: '#2a6eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eaa;
$custom-light: #7597c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eaa",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 170
  },
  "hsl": {
    "h": 208.125,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.1165,
    "h": 248.7
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#2A6EAA
secondary
#C3956C
accent
#8F44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2A6EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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