#2A6EB7#2A6EB7

#2A6EB7 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.133 H 253.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2A6EB7
RGBrgb(42, 110, 183)
HSLhsl(211, 63%, 44%)
HSVhsv(211, 77%, 72%)
CMYKcmyk(77%, 39.9%, 0%, 28.2%)
CIE-LABlab(45.72, 4.62, -44.64)
CIE-LCHlch(45.72, 44.88, 275.91°)
OKLaboklab(53.28% -0.0389 -0.1275)
OKLCHoklch(53.28% 0.133 253)
XYZxyz(15.0748, 15.0612, 46.9032)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EB7 #B7732A
analogous
#2AB5B7 #2A6EB7 #2D2AB7
triadic
#2A6EB7 #B72A6E #6EB72A
tetradic
#2A6EB7 #B72AB5 #B7732A #2AB72D
square
#2A6EB7 #B72AB5 #B7732A #2AB72D
split-complementary
#2A6EB7 #B72D2A #B5B72A
monochromatic
#133253 #1F5085 #2A6EB7 #498DD5 #7BACE1

Accessibility & contrast

On white

5.23
#2A6EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2A6EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EB7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EB7#FFFFFF#000000##FFFFFF
##2A6EB71.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B73BA
Deuteranopia (green-blind)
#3466B6
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6eb7;
/* rgb */ color: rgb(42, 110, 183);
/* oklch */ color: oklch(53.3% 0.133 253.0);
Tailwind
colors: {
  custom: {
    50: '#7897cd',
    500: '#2a6eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eb7;
$custom-light: #7897cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eb7",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 211.064,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53278,
    "c": 0.13327,
    "h": 253
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#2A6EB7
secondary
#C9A074
accent
#9742E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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