#2A6FA1#2A6FA1

#2A6FA1 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.2% C 0.104 H 243.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2A6FA1
RGBrgb(42, 111, 161)
HSLhsl(205, 59%, 40%)
HSVhsv(205, 74%, 63%)
CMYKcmyk(73.9%, 31.1%, 0%, 36.9%)
CIE-LABlab(44.85, -4.20, -33.14)
CIE-LCHlch(44.85, 33.41, 262.78°)
OKLaboklab(52.21% -0.046 -0.0938)
OKLCHoklch(52.21% 0.104 243.9)
XYZxyz(13.0698, 14.4328, 35.8083)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FA1 #A15C2A
analogous
#2AA198 #2A6FA1 #2A34A1
triadic
#2A6FA1 #A12A6F #6FA12A
tetradic
#2A6FA1 #982AA1 #A15C2A #34A12A
square
#2A6FA1 #982AA1 #A15C2A #34A12A
split-complementary
#2A6FA1 #A12A34 #A1982A
monochromatic
#112C40 #1D4E70 #2A6FA1 #3C90CC #6DABD9

Accessibility & contrast

On white

5.40
#2A6FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2A6FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FA1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FA1#FFFFFF#000000##FFFFFF
##2A6FA11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5870A3
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#007B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6fa1;
/* rgb */ color: rgb(42, 111, 161);
/* oklch */ color: oklch(52.2% 0.104 243.9);
Tailwind
colors: {
  custom: {
    50: '#7498bd',
    500: '#2a6fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fa1;
$custom-light: #7498bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fa1",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 161
  },
  "hsl": {
    "h": 205.21,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.10449,
    "h": 243.9
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#2A6FA1
secondary
#C08C67
accent
#8746E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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