#2A6DAF#2A6DAF

#2A6DAF is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.6% C 0.124 H 251.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2A6DAF
RGBrgb(42, 109, 175)
HSLhsl(210, 61%, 43%)
HSVhsv(210, 76%, 69%)
CMYKcmyk(76%, 37.7%, 0%, 31.4%)
CIE-LABlab(44.97, 2.23, -41.16)
CIE-LCHlch(44.97, 41.22, 273.10°)
OKLaboklab(52.55% -0.04 -0.1173)
OKLCHoklch(52.55% 0.124 251.2)
XYZxyz(14.1584, 14.5230, 42.6062)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DAF #AF6C2A
analogous
#2AAFAE #2A6DAF #2A2BAF
triadic
#2A6DAF #AF2A6D #6DAF2A
tetradic
#2A6DAF #AE2AAF #AF6C2A #2BAF2A
square
#2A6DAF #AE2AAF #AF6C2A #2BAF2A
split-complementary
#2A6DAF #AF2A2B #AFAE2A
monochromatic
#12304C #1E4E7E #2A6DAF #448CD2 #75AADE

Accessibility & contrast

On white

5.38
#2A6DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2A6DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DAF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DAF#FFFFFF#000000##FFFFFF
##2A6DAF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6daf;
/* rgb */ color: rgb(42, 109, 175);
/* oklch */ color: oklch(52.6% 0.124 251.2);
Tailwind
colors: {
  custom: {
    50: '#7696c7',
    500: '#2a6daf',
    950: '#000000',
  },
}
SCSS
$custom: #2a6daf;
$custom-light: #7696c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6daf",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 175
  },
  "hsl": {
    "h": 209.774,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.12392,
    "h": 251.2
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#2A6DAF
secondary
#C69A6F
accent
#9343E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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