#2A6FB2#2A6FB2

#2A6FB2 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.2% C 0.126 H 250.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2A6FB2
RGBrgb(42, 111, 178)
HSLhsl(210, 62%, 43%)
HSVhsv(210, 76%, 70%)
CMYKcmyk(76.4%, 37.6%, 0%, 30.2%)
CIE-LABlab(45.74, 2.12, -41.70)
CIE-LCHlch(45.74, 41.75, 272.91°)
OKLaboklab(53.2% -0.0411 -0.1188)
OKLCHoklch(53.2% 0.126 250.9)
XYZxyz(14.6721, 15.0738, 44.2471)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FB2 #B26D2A
analogous
#2AB2B1 #2A6FB2 #2A2BB2
triadic
#2A6FB2 #B22A6F #6FB22A
tetradic
#2A6FB2 #B12AB2 #B26D2A #2BB22A
square
#2A6FB2 #B12AB2 #B26D2A #2BB22A
split-complementary
#2A6FB2 #B22A2B #B2B12A
monochromatic
#13314F #1E5080 #2A6FB2 #468ED3 #77ACDF

Accessibility & contrast

On white

5.23
#2A6FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2A6FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FB2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FB2#FFFFFF#000000##FFFFFF
##2A6FB21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#3B67B1
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6fb2;
/* rgb */ color: rgb(42, 111, 178);
/* oklch */ color: oklch(53.2% 0.126 250.9);
Tailwind
colors: {
  custom: {
    50: '#7797c9',
    500: '#2a6fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fb2;
$custom-light: #7797c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fb2",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 209.559,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.532,
    "c": 0.12573,
    "h": 250.9
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#2A6FB2
secondary
#C79B71
accent
#9343E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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