#2A6BBE#2A6BBE

#2A6BBE is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 53.0% C 0.146 H 256.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2A6BBE
RGBrgb(42, 107, 190)
HSLhsl(214, 64%, 45%)
HSVhsv(214, 78%, 75%)
CMYKcmyk(77.9%, 43.7%, 0%, 25.5%)
CIE-LABlab(45.25, 9.17, -49.44)
CIE-LCHlch(45.25, 50.28, 280.51°)
OKLaboklab(53.05% -0.0348 -0.1416)
OKLCHoklch(53.05% 0.146 256.2)
XYZxyz(15.5034, 14.7235, 50.7300)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BBE #BE7D2A
analogous
#2AB5BE #2A6BBE #332ABE
triadic
#2A6BBE #BE2A6B #6BBE2A
tetradic
#2A6BBE #BE2AB5 #BE7D2A #2ABE33
square
#2A6BBE #BE2AB5 #BE7D2A #2ABE33
split-complementary
#2A6BBE #BE332A #B5BE2A
monochromatic
#14335A #1F4F8C #2A6BBE #4D8AD8 #80ABE3

Accessibility & contrast

On white

5.32
#2A6BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2A6BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BBE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BBE#FFFFFF#000000##FFFFFF
##2A6BBE1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4172C1
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6bbe;
/* rgb */ color: rgb(42, 107, 190);
/* oklch */ color: oklch(53.0% 0.146 256.2);
Tailwind
colors: {
  custom: {
    50: '#7994d2',
    500: '#2a6bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bbe;
$custom-light: #7994d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bbe",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 213.649,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.14584,
    "h": 256.2
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#2A6BBE
secondary
#CBA778
accent
#9E41E7
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2A6BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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