#2A6FB3#2A6FB3

#2A6FB3 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.127 H 251.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2A6FB3
RGBrgb(42, 111, 179)
HSLhsl(210, 62%, 43%)
HSVhsv(210, 77%, 70%)
CMYKcmyk(76.5%, 38%, 0%, 29.8%)
CIE-LABlab(45.79, 2.49, -42.20)
CIE-LCHlch(45.79, 42.27, 273.38°)
OKLaboklab(53.26% -0.0408 -0.1203)
OKLCHoklch(53.26% 0.127 251.3)
XYZxyz(14.7729, 15.1141, 44.7778)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FB3 #B36E2A
analogous
#2AB3B2 #2A6FB3 #2A2AB3
triadic
#2A6FB3 #B32A6F #6FB32A
tetradic
#2A6FB3 #B22AB3 #B36E2A #2AB32A
square
#2A6FB3 #B22AB3 #B36E2A #2AB32A
split-complementary
#2A6FB3 #B32A2A #B3B22A
monochromatic
#133250 #1E5081 #2A6FB3 #468ED4 #78ACDF

Accessibility & contrast

On white

5.22
#2A6FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2A6FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FB3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FB3#FFFFFF#000000##FFFFFF
##2A6FB31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B6
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6fb3;
/* rgb */ color: rgb(42, 111, 179);
/* oklch */ color: oklch(53.3% 0.127 251.3);
Tailwind
colors: {
  custom: {
    50: '#7797ca',
    500: '#2a6fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fb3;
$custom-light: #7797ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fb3",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 179
  },
  "hsl": {
    "h": 209.781,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.12702,
    "h": 251.3
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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