#2A6FBB#2A6FBB

#2A6FBB is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.8% C 0.137 H 253.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2A6FBB
RGBrgb(42, 111, 187)
HSLhsl(211, 63%, 45%)
HSVhsv(211, 78%, 73%)
CMYKcmyk(77.5%, 40.6%, 0%, 26.7%)
CIE-LABlab(46.24, 5.51, -46.12)
CIE-LCHlch(46.24, 46.45, 276.81°)
OKLaboklab(53.76% -0.0389 -0.1318)
OKLCHoklch(53.76% 0.137 253.6)
XYZxyz(15.6056, 15.4471, 49.1632)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FBB #BB762A
analogous
#2AB8BB #2A6FBB #2D2ABB
triadic
#2A6FBB #BB2A6F #6FBB2A
tetradic
#2A6FBB #BB2AB8 #BB762A #2ABB2D
square
#2A6FBB #BB2AB8 #BB762A #2ABB2D
split-complementary
#2A6FBB #BB2D2A #B8BB2A
monochromatic
#143457 #1F5189 #2A6FBB #4C8ED7 #7DADE2

Accessibility & contrast

On white

5.13
#2A6FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A6FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FBB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FBB#FFFFFF#000000##FFFFFF
##2A6FBB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a6fbb;
/* rgb */ color: rgb(42, 111, 187);
/* oklch */ color: oklch(53.8% 0.137 253.6);
Tailwind
colors: {
  custom: {
    50: '#7997d0',
    500: '#2a6fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fbb;
$custom-light: #7997d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fbb",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 211.448,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5376,
    "c": 0.13742,
    "h": 253.6
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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