#2A6CB4#2A6CB4

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

Color values

HEX#2A6CB4
RGBrgb(42, 108, 180)
HSLhsl(211, 62%, 44%)
HSVhsv(211, 77%, 71%)
CMYKcmyk(76.7%, 40%, 0%, 29.4%)
CIE-LABlab(44.96, 4.74, -44.10)
CIE-LCHlch(44.96, 44.36, 276.14°)
OKLaboklab(52.63% -0.0379 -0.1259)
OKLCHoklch(52.63% 0.132 253.3)
XYZxyz(14.5525, 14.5110, 45.2051)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CB4 #B4722A
analogous
#2AB1B4 #2A6CB4 #2D2AB4
triadic
#2A6CB4 #B42A6C #6CB42A
tetradic
#2A6CB4 #B42AB1 #B4722A #2AB42D
square
#2A6CB4 #B42AB1 #B4722A #2AB42D
split-complementary
#2A6CB4 #B42D2A #B1B42A
monochromatic
#133051 #1E4E82 #2A6CB4 #478BD4 #79AAE0

Accessibility & contrast

On white

5.38
#2A6CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2A6CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CB4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CB4#FFFFFF#000000##FFFFFF
##2A6CB41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B7
Deuteranopia (green-blind)
#3365B3
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6cb4;
/* rgb */ color: rgb(42, 108, 180);
/* oklch */ color: oklch(52.6% 0.132 253.3);
Tailwind
colors: {
  custom: {
    50: '#7795cb',
    500: '#2a6cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cb4;
$custom-light: #7795cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cb4",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 211.304,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52628,
    "c": 0.1315,
    "h": 253.3
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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