#2A6FA4#2A6FA4

#2A6FA4 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.4% C 0.108 H 245.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A6FA4
RGBrgb(42, 111, 164)
HSLhsl(206, 59%, 40%)
HSVhsv(206, 74%, 64%)
CMYKcmyk(74.4%, 32.3%, 0%, 35.7%)
CIE-LABlab(45.00, -3.09, -34.67)
CIE-LCHlch(45.00, 34.81, 264.90°)
OKLaboklab(52.38% -0.045 -0.0983)
OKLCHoklch(52.38% 0.108 245.4)
XYZxyz(13.3376, 14.5399, 37.2183)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FA4 #A45F2A
analogous
#2AA49C #2A6FA4 #2A32A4
triadic
#2A6FA4 #A42A6F #6FA42A
tetradic
#2A6FA4 #9C2AA4 #A45F2A #32A42A
square
#2A6FA4 #9C2AA4 #A45F2A #32A42A
split-complementary
#2A6FA4 #A42A32 #A49C2A
monochromatic
#112D43 #1E4E73 #2A6FA4 #3E8FCD #6EABDA

Accessibility & contrast

On white

5.37
#2A6FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2A6FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FA4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FA4#FFFFFF#000000##FFFFFF
##2A6FA41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A6
Deuteranopia (green-blind)
#4665A3
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6fa4;
/* rgb */ color: rgb(42, 111, 164);
/* oklch */ color: oklch(52.4% 0.108 245.4);
Tailwind
colors: {
  custom: {
    50: '#7498bf',
    500: '#2a6fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fa4;
$custom-light: #7498bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fa4",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 206.066,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5238,
    "c": 0.1081,
    "h": 245.4
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#2A6FA4
secondary
#C18F69
accent
#8A45E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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