#2A6CB3#2A6CB3

#2A6CB3 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.6% C 0.130 H 253.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2A6CB3
RGBrgb(42, 108, 179)
HSLhsl(211, 62%, 43%)
HSVhsv(211, 77%, 70%)
CMYKcmyk(76.5%, 39.7%, 0%, 29.8%)
CIE-LABlab(44.90, 4.36, -43.61)
CIE-LCHlch(44.90, 43.83, 275.71°)
OKLaboklab(52.57% -0.0381 -0.1245)
OKLCHoklch(52.57% 0.13 253)
XYZxyz(14.4510, 14.4704, 44.6705)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CB3 #B3712A
analogous
#2AB0B3 #2A6CB3 #2C2AB3
triadic
#2A6CB3 #B32A6C #6CB32A
tetradic
#2A6CB3 #B32AB0 #B3712A #2AB32C
square
#2A6CB3 #B32AB0 #B3712A #2AB32C
split-complementary
#2A6CB3 #B32C2A #B0B32A
monochromatic
#133050 #1E4E81 #2A6CB3 #468BD4 #78AADF

Accessibility & contrast

On white

5.39
#2A6CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2A6CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CB3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CB3#FFFFFF#000000##FFFFFF
##2A6CB31.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B6
Deuteranopia (green-blind)
#3464B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6cb3;
/* rgb */ color: rgb(42, 108, 179);
/* oklch */ color: oklch(52.6% 0.130 253.0);
Tailwind
colors: {
  custom: {
    50: '#7795ca',
    500: '#2a6cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cb3;
$custom-light: #7795ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cb3",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 211.095,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.13019,
    "h": 253
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#2A6CB3
secondary
#C79E72
accent
#9743E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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