#2A6FB1#2A6FB1

#2A6FB1 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.1% C 0.124 H 250.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A6FB1
RGBrgb(42, 111, 177)
HSLhsl(209, 62%, 43%)
HSVhsv(209, 76%, 69%)
CMYKcmyk(76.3%, 37.3%, 0%, 30.6%)
CIE-LABlab(45.68, 1.74, -41.20)
CIE-LCHlch(45.68, 41.24, 272.42°)
OKLaboklab(53.14% -0.0413 -0.1174)
OKLCHoklch(53.14% 0.124 250.6)
XYZxyz(14.5721, 15.0338, 43.7203)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FB1 #B16C2A
analogous
#2AB1AF #2A6FB1 #2A2CB1
triadic
#2A6FB1 #B12A6F #6FB12A
tetradic
#2A6FB1 #AF2AB1 #B16C2A #2CB12A
square
#2A6FB1 #AF2AB1 #B16C2A #2CB12A
split-complementary
#2A6FB1 #B12A2C #B1AF2A
monochromatic
#13314E #1E5080 #2A6FB1 #458ED3 #77ACDF

Accessibility & contrast

On white

5.24
#2A6FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6FB1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FB1#FFFFFF#000000##FFFFFF
##2A6FB11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B4
Deuteranopia (green-blind)
#3C66B0
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6fb1;
/* rgb */ color: rgb(42, 111, 177);
/* oklch */ color: oklch(53.1% 0.124 250.6);
Tailwind
colors: {
  custom: {
    50: '#7797c8',
    500: '#2a6fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fb1;
$custom-light: #7797c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fb1",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 177
  },
  "hsl": {
    "h": 209.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.12445,
    "h": 250.6
  },
  "luminance": 0.15035
}

Semantic roles & 50–950 ramp

primary
#2A6FB1
secondary
#C69A70
accent
#9243E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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