#2A6BB3#2A6BB3

#2A6BB3 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.3% C 0.131 H 253.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2A6BB3
RGBrgb(42, 107, 179)
HSLhsl(212, 62%, 43%)
HSVhsv(212, 77%, 70%)
CMYKcmyk(76.5%, 40.2%, 0%, 29.8%)
CIE-LABlab(44.60, 4.99, -44.08)
CIE-LCHlch(44.60, 44.36, 276.46°)
OKLaboklab(52.34% -0.0372 -0.1259)
OKLCHoklch(52.34% 0.131 253.5)
XYZxyz(14.3462, 14.2606, 44.6356)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BB3 #B3722A
analogous
#2AAFB3 #2A6BB3 #2D2AB3
triadic
#2A6BB3 #B32A6B #6BB32A
tetradic
#2A6BB3 #B32AAF #B3722A #2AB32D
square
#2A6BB3 #B32AAF #B3722A #2AB32D
split-complementary
#2A6BB3 #B32D2A #AFB32A
monochromatic
#133050 #1E4D81 #2A6BB3 #4689D4 #78A9DF

Accessibility & contrast

On white

5.45
#2A6BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A6BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BB3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BB3#FFFFFF#000000##FFFFFF
##2A6BB31.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B6
Deuteranopia (green-blind)
#3264B2
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6bb3;
/* rgb */ color: rgb(42, 107, 179);
/* oklch */ color: oklch(52.3% 0.131 253.5);
Tailwind
colors: {
  custom: {
    50: '#7794ca',
    500: '#2a6bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bb3;
$custom-light: #7794ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bb3",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 211.533,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.13127,
    "h": 253.5
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#2A6BB3
secondary
#C79F72
accent
#9843E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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