#2A6FAF#2A6FAF

#2A6FAF is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.122 H 249.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2A6FAF
RGBrgb(42, 111, 175)
HSLhsl(209, 61%, 43%)
HSVhsv(209, 76%, 69%)
CMYKcmyk(76%, 36.6%, 0%, 31.4%)
CIE-LABlab(45.57, 0.99, -40.21)
CIE-LCHlch(45.57, 40.22, 271.42°)
OKLaboklab(53.02% -0.0419 -0.1145)
OKLCHoklch(53.02% 0.122 249.9)
XYZxyz(14.3742, 14.9546, 42.6781)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FAF #AF6A2A
analogous
#2AAFAC #2A6FAF #2A2DAF
triadic
#2A6FAF #AF2A6F #6FAF2A
tetradic
#2A6FAF #AC2AAF #AF6A2A #2DAF2A
square
#2A6FAF #AC2AAF #AF6A2A #2DAF2A
split-complementary
#2A6FAF #AF2A2D #AFAC2A
monochromatic
#12304C #1E507E #2A6FAF #448ED2 #75ACDE

Accessibility & contrast

On white

5.26
#2A6FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2A6FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FAF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FAF#FFFFFF#000000##FFFFFF
##2A6FAF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5173B2
Deuteranopia (green-blind)
#3E66AE
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6faf;
/* rgb */ color: rgb(42, 111, 175);
/* oklch */ color: oklch(53.0% 0.122 249.9);
Tailwind
colors: {
  custom: {
    50: '#7697c7',
    500: '#2a6faf',
    950: '#000000',
  },
}
SCSS
$custom: #2a6faf;
$custom-light: #7697c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6faf",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 208.872,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.12189,
    "h": 249.9
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#2A6FAF
secondary
#C6996F
accent
#9143E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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