#2A6FA3#2A6FA3

#2A6FA3 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.3% C 0.107 H 244.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2A6FA3
RGBrgb(42, 111, 163)
HSLhsl(206, 59%, 40%)
HSVhsv(206, 74%, 64%)
CMYKcmyk(74.2%, 31.9%, 0%, 36.1%)
CIE-LABlab(44.95, -3.46, -34.16)
CIE-LCHlch(44.95, 34.34, 264.21°)
OKLaboklab(52.32% -0.0453 -0.0968)
OKLCHoklch(52.32% 0.107 244.9)
XYZxyz(13.2476, 14.5040, 36.7446)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FA3 #A35E2A
analogous
#2AA39A #2A6FA3 #2A33A3
triadic
#2A6FA3 #A32A6F #6FA32A
tetradic
#2A6FA3 #9A2AA3 #A35E2A #33A32A
square
#2A6FA3 #9A2AA3 #A35E2A #33A32A
split-complementary
#2A6FA3 #A32A33 #A39A2A
monochromatic
#112D42 #1D4E72 #2A6FA3 #3D8FCD #6EABDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6FA3#FFFFFF#000000##FFFFFF
##2A6FA31.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)
#5771A5
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6fa3;
/* rgb */ color: rgb(42, 111, 163);
/* oklch */ color: oklch(52.3% 0.107 244.9);
Tailwind
colors: {
  custom: {
    50: '#7498be',
    500: '#2a6fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fa3;
$custom-light: #7498be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fa3",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 163
  },
  "hsl": {
    "h": 205.785,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52323,
    "c": 0.10689,
    "h": 244.9
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#2A6FA3
secondary
#C08E68
accent
#8946E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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