#2A6BB5#2A6BB5

#2A6BB5 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.5% C 0.134 H 254.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A6BB5
RGBrgb(42, 107, 181)
HSLhsl(212, 62%, 44%)
HSVhsv(212, 77%, 71%)
CMYKcmyk(76.8%, 40.9%, 0%, 29%)
CIE-LABlab(44.72, 5.75, -45.06)
CIE-LCHlch(44.72, 45.43, 277.27°)
OKLaboklab(52.46% -0.0367 -0.1288)
OKLCHoklch(52.46% 0.134 254.1)
XYZxyz(14.5499, 14.3421, 45.7086)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BB5 #B5742A
analogous
#2AB0B5 #2A6BB5 #2E2AB5
triadic
#2A6BB5 #B52A6B #6BB52A
tetradic
#2A6BB5 #B52AB0 #B5742A #2AB52E
square
#2A6BB5 #B52AB0 #B5742A #2AB52E
split-complementary
#2A6BB5 #B52E2A #B0B52A
monochromatic
#133052 #1E4E83 #2A6BB5 #488AD4 #79A9E0

Accessibility & contrast

On white

5.43
#2A6BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2A6BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BB5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BB5#FFFFFF#000000##FFFFFF
##2A6BB51.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6bb5;
/* rgb */ color: rgb(42, 107, 181);
/* oklch */ color: oklch(52.5% 0.134 254.1);
Tailwind
colors: {
  custom: {
    50: '#7894cb',
    500: '#2a6bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bb5;
$custom-light: #7894cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bb5",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 211.942,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.13391,
    "h": 254.1
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#2A6BB5
secondary
#C8A073
accent
#9942E5
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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