#2A6FAA#2A6FAA

#2A6FAA is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.7% C 0.116 H 248.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2A6FAA
RGBrgb(42, 111, 170)
HSLhsl(208, 60%, 42%)
HSVhsv(208, 75%, 67%)
CMYKcmyk(75.3%, 34.7%, 0%, 33.3%)
CIE-LABlab(45.31, -0.87, -37.71)
CIE-LCHlch(45.31, 37.72, 268.68°)
OKLaboklab(52.72% -0.0433 -0.1071)
OKLCHoklch(52.72% 0.116 248)
XYZxyz(13.8922, 14.7618, 40.1396)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FAA #AA652A
analogous
#2AAAA5 #2A6FAA #2A2FAA
triadic
#2A6FAA #AA2A6F #6FAA2A
tetradic
#2A6FAA #A52AAA #AA652A #2FAA2A
square
#2A6FAA #A52AAA #AA652A #2FAA2A
split-complementary
#2A6FAA #AA2A2F #AAA52A
monochromatic
#122F48 #1E4F79 #2A6FAA #418ED0 #72ABDC

Accessibility & contrast

On white

5.31
#2A6FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2A6FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FAA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FAA#FFFFFF#000000##FFFFFF
##2A6FAA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AC
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6faa;
/* rgb */ color: rgb(42, 111, 170);
/* oklch */ color: oklch(52.7% 0.116 248.0);
Tailwind
colors: {
  custom: {
    50: '#7598c3',
    500: '#2a6faa',
    950: '#000000',
  },
}
SCSS
$custom: #2a6faa;
$custom-light: #7598c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6faa",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 170
  },
  "hsl": {
    "h": 207.656,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.11554,
    "h": 248
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#2A6FAA
secondary
#C3946C
accent
#8E44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2A6FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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