#2A6BB9#2A6BB9

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

Color values

HEX#2A6BB9
RGBrgb(42, 107, 185)
HSLhsl(213, 63%, 45%)
HSVhsv(213, 77%, 73%)
CMYKcmyk(77.3%, 42.2%, 0%, 27.5%)
CIE-LABlab(44.95, 7.27, -47.02)
CIE-LCHlch(44.95, 47.58, 278.79°)
OKLaboklab(52.72% -0.0358 -0.1345)
OKLCHoklch(52.72% 0.139 255.1)
XYZxyz(14.9662, 14.5087, 47.9012)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BB9 #B9782A
analogous
#2AB3B9 #2A6BB9 #302AB9
triadic
#2A6BB9 #B92A6B #6BB92A
tetradic
#2A6BB9 #B92AB3 #B9782A #2AB930
square
#2A6BB9 #B92AB3 #B9782A #2AB930
split-complementary
#2A6BB9 #B9302A #B3B92A
monochromatic
#133155 #1F4E87 #2A6BB9 #4A8AD6 #7CAAE1

Accessibility & contrast

On white

5.38
#2A6BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2A6BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BB9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BB9#FFFFFF#000000##FFFFFF
##2A6BB91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BC
Deuteranopia (green-blind)
#2B64B7
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6bb9;
/* rgb */ color: rgb(42, 107, 185);
/* oklch */ color: oklch(52.7% 0.139 255.1);
Tailwind
colors: {
  custom: {
    50: '#7894ce',
    500: '#2a6bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bb9;
$custom-light: #7894ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bb9",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 212.727,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5272,
    "c": 0.1392,
    "h": 255.1
  },
  "luminance": 0.1451
}

Semantic roles & 50–950 ramp

primary
#2A6BB9
secondary
#CAA375
accent
#9B42E6
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2A6BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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