#2A6EBA#2A6EBA

#2A6EBA is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.5% C 0.137 H 253.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2A6EBA
RGBrgb(42, 110, 186)
HSLhsl(212, 63%, 45%)
HSVhsv(212, 77%, 73%)
CMYKcmyk(77.4%, 40.9%, 0%, 27.1%)
CIE-LABlab(45.89, 5.76, -46.10)
CIE-LCHlch(45.89, 46.46, 277.12°)
OKLaboklab(53.47% -0.0382 -0.1318)
OKLCHoklch(53.47% 0.137 253.8)
XYZxyz(15.3904, 15.1875, 48.5652)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EBA #BA762A
analogous
#2AB6BA #2A6EBA #2E2ABA
triadic
#2A6EBA #BA2A6E #6EBA2A
tetradic
#2A6EBA #BA2AB6 #BA762A #2ABA2E
square
#2A6EBA #BA2AB6 #BA762A #2ABA2E
split-complementary
#2A6EBA #BA2E2A #B6BA2A
monochromatic
#133356 #1F5088 #2A6EBA #4B8DD6 #7DACE2

Accessibility & contrast

On white

5.20
#2A6EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2A6EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EBA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EBA#FFFFFF#000000##FFFFFF
##2A6EBA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#3167B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6eba;
/* rgb */ color: rgb(42, 110, 186);
/* oklch */ color: oklch(53.5% 0.137 253.8);
Tailwind
colors: {
  custom: {
    50: '#7997cf',
    500: '#2a6eba',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eba;
$custom-light: #7997cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eba",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 211.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53468,
    "c": 0.1372,
    "h": 253.8
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#2A6EBA
secondary
#CAA276
accent
#9842E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2A6EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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