#2A6BB8#2A6BB8

#2A6BB8 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.138 H 254.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2A6BB8
RGBrgb(42, 107, 184)
HSLhsl(213, 63%, 44%)
HSVhsv(213, 77%, 72%)
CMYKcmyk(77.2%, 41.8%, 0%, 27.8%)
CIE-LABlab(44.89, 6.89, -46.53)
CIE-LCHlch(44.89, 47.04, 278.42°)
OKLaboklab(52.65% -0.0361 -0.1331)
OKLCHoklch(52.65% 0.138 254.8)
XYZxyz(14.8611, 14.4666, 47.3472)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BB8 #B8772A
analogous
#2AB2B8 #2A6BB8 #302AB8
triadic
#2A6BB8 #B82A6B #6BB82A
tetradic
#2A6BB8 #B82AB2 #B8772A #2AB830
square
#2A6BB8 #B82AB2 #B8772A #2AB830
split-complementary
#2A6BB8 #B8302A #B2B82A
monochromatic
#133154 #1F4E86 #2A6BB8 #4A8AD6 #7BAAE1

Accessibility & contrast

On white

5.39
#2A6BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2A6BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BB8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BB8#FFFFFF#000000##FFFFFF
##2A6BB81.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#2D64B6
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6bb8;
/* rgb */ color: rgb(42, 107, 184);
/* oklch */ color: oklch(52.7% 0.138 254.8);
Tailwind
colors: {
  custom: {
    50: '#7894ce',
    500: '#2a6bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bb8;
$custom-light: #7894ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bb8",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 184
  },
  "hsl": {
    "h": 212.535,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.13788,
    "h": 254.8
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#2A6BB8
secondary
#C9A275
accent
#9B42E6
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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