#2A6EB3#2A6EB3

#2A6EB3 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.0% C 0.128 H 251.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A6EB3
RGBrgb(42, 110, 179)
HSLhsl(210, 62%, 43%)
HSVhsv(210, 77%, 70%)
CMYKcmyk(76.5%, 38.5%, 0%, 29.8%)
CIE-LABlab(45.49, 3.12, -42.67)
CIE-LCHlch(45.49, 42.78, 274.18°)
OKLaboklab(53.03% -0.0399 -0.1217)
OKLCHoklch(53.03% 0.128 251.8)
XYZxyz(14.6644, 14.8971, 44.7416)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EB3 #B36F2A
analogous
#2AB2B3 #2A6EB3 #2A2AB3
triadic
#2A6EB3 #B32A6E #6EB32A
tetradic
#2A6EB3 #B32AB2 #B36F2A #2AB32A
square
#2A6EB3 #B32AB2 #B36F2A #2AB32A
split-complementary
#2A6EB3 #B32A2A #B2B32A
monochromatic
#133150 #1E5081 #2A6EB3 #468DD4 #78ABDF

Accessibility & contrast

On white

5.28
#2A6EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2A6EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EB3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EB3#FFFFFF#000000##FFFFFF
##2A6EB31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6eb3;
/* rgb */ color: rgb(42, 110, 179);
/* oklch */ color: oklch(53.0% 0.128 251.8);
Tailwind
colors: {
  custom: {
    50: '#7797ca',
    500: '#2a6eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eb3;
$custom-light: #7797ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eb3",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 179
  },
  "hsl": {
    "h": 210.219,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.12806,
    "h": 251.8
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#2A6EB3
secondary
#C79D72
accent
#9443E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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