#2A6BA8#2A6BA8

#2A6BA8 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.7% C 0.117 H 250.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2A6BA8
RGBrgb(42, 107, 168)
HSLhsl(209, 60%, 41%)
HSVhsv(209, 75%, 66%)
CMYKcmyk(75%, 36.3%, 0%, 34.1%)
CIE-LABlab(43.99, 0.85, -38.61)
CIE-LCHlch(43.99, 38.62, 271.26°)
OKLaboklab(51.66% -0.04 -0.1098)
OKLCHoklch(51.66% 0.117 250)
XYZxyz(13.2778, 13.8333, 39.0085)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BA8 #A8672A
analogous
#2AA8A6 #2A6BA8 #2A2CA8
triadic
#2A6BA8 #A82A6B #6BA82A
tetradic
#2A6BA8 #A62AA8 #A8672A #2CA82A
square
#2A6BA8 #A62AA8 #A8672A #2CA82A
split-complementary
#2A6BA8 #A82A2C #A8A62A
monochromatic
#122D46 #1E4C77 #2A6BA8 #408ACF #71A8DB

Accessibility & contrast

On white

5.57
#2A6BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2A6BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BA8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BA8#FFFFFF#000000##FFFFFF
##2A6BA81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAB
Deuteranopia (green-blind)
#3C63A7
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6ba8;
/* rgb */ color: rgb(42, 107, 168);
/* oklch */ color: oklch(51.7% 0.117 250.0);
Tailwind
colors: {
  custom: {
    50: '#7595c2',
    500: '#2a6ba8',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ba8;
$custom-light: #7595c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ba8",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 168
  },
  "hsl": {
    "h": 209.048,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51658,
    "c": 0.1169,
    "h": 250
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#2A6BA8
secondary
#C3966B
accent
#9145E3
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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