#2A6CB1#2A6CB1

#2A6CB1 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.4% C 0.128 H 252.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2A6CB1
RGBrgb(42, 108, 177)
HSLhsl(211, 62%, 43%)
HSVhsv(211, 76%, 69%)
CMYKcmyk(76.3%, 39%, 0%, 30.6%)
CIE-LABlab(44.79, 3.61, -42.62)
CIE-LCHlch(44.79, 42.78, 274.84°)
OKLaboklab(52.44% -0.0386 -0.1216)
OKLCHoklch(52.44% 0.128 252.4)
XYZxyz(14.2502, 14.3900, 43.6130)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CB1 #B16F2A
analogous
#2AAFB1 #2A6CB1 #2C2AB1
triadic
#2A6CB1 #B12A6C #6CB12A
tetradic
#2A6CB1 #B12AAF #B16F2A #2AB12C
square
#2A6CB1 #B12AAF #B16F2A #2AB12C
split-complementary
#2A6CB1 #B12C2A #AFB12A
monochromatic
#13304E #1E4E80 #2A6CB1 #458BD3 #77AADF

Accessibility & contrast

On white

5.41
#2A6CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2A6CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CB1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CB1#FFFFFF#000000##FFFFFF
##2A6CB11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B4
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6cb1;
/* rgb */ color: rgb(42, 108, 177);
/* oklch */ color: oklch(52.4% 0.128 252.4);
Tailwind
colors: {
  custom: {
    50: '#7795c9',
    500: '#2a6cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cb1;
$custom-light: #7795c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cb1",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 210.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52441,
    "c": 0.12757,
    "h": 252.4
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#2A6CB1
secondary
#C69C70
accent
#9643E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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