#2A6BB4#2A6BB4

#2A6BB4 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.133 H 253.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2A6BB4
RGBrgb(42, 107, 180)
HSLhsl(212, 62%, 44%)
HSVhsv(212, 77%, 71%)
CMYKcmyk(76.7%, 40.6%, 0%, 29.4%)
CIE-LABlab(44.66, 5.37, -44.57)
CIE-LCHlch(44.66, 44.90, 276.87°)
OKLaboklab(52.4% -0.037 -0.1273)
OKLCHoklch(52.4% 0.133 253.8)
XYZxyz(14.4477, 14.3012, 45.1701)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BB4 #B4732A
analogous
#2AB0B4 #2A6BB4 #2E2AB4
triadic
#2A6BB4 #B42A6B #6BB42A
tetradic
#2A6BB4 #B42AB0 #B4732A #2AB42E
square
#2A6BB4 #B42AB0 #B4732A #2AB42E
split-complementary
#2A6BB4 #B42E2A #B0B42A
monochromatic
#133051 #1E4E82 #2A6BB4 #478AD4 #79A9E0

Accessibility & contrast

On white

5.44
#2A6BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2A6BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BB4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BB4#FFFFFF#000000##FFFFFF
##2A6BB41.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B7
Deuteranopia (green-blind)
#3164B3
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6bb4;
/* rgb */ color: rgb(42, 107, 180);
/* oklch */ color: oklch(52.4% 0.133 253.8);
Tailwind
colors: {
  custom: {
    50: '#7794cb',
    500: '#2a6bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bb4;
$custom-light: #7794cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bb4",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 211.739,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.13259,
    "h": 253.8
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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