#2A6FA2#2A6FA2

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

Color values

HEX#2A6FA2
RGBrgb(42, 111, 162)
HSLhsl(206, 59%, 40%)
HSVhsv(206, 74%, 64%)
CMYKcmyk(74.1%, 31.5%, 0%, 36.5%)
CIE-LABlab(44.90, -3.83, -33.65)
CIE-LCHlch(44.90, 33.87, 263.51°)
OKLaboklab(52.27% -0.0457 -0.0953)
OKLCHoklch(52.27% 0.106 244.4)
XYZxyz(13.1584, 14.4683, 36.2746)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FA2 #A25D2A
analogous
#2AA299 #2A6FA2 #2A33A2
triadic
#2A6FA2 #A22A6F #6FA22A
tetradic
#2A6FA2 #992AA2 #A25D2A #33A22A
square
#2A6FA2 #992AA2 #A25D2A #33A22A
split-complementary
#2A6FA2 #A22A33 #A2992A
monochromatic
#112C41 #1D4E71 #2A6FA2 #3D8FCD #6DABD9

Accessibility & contrast

On white

5.39
#2A6FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6FA2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FA2#FFFFFF#000000##FFFFFF
##2A6FA21.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5870A4
Deuteranopia (green-blind)
#4765A1
Tritanopia (blue-blind)
#007B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6fa2;
/* rgb */ color: rgb(42, 111, 162);
/* oklch */ color: oklch(52.3% 0.106 244.4);
Tailwind
colors: {
  custom: {
    50: '#7498be',
    500: '#2a6fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fa2;
$custom-light: #7498be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fa2",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 205.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.10568,
    "h": 244.4
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#2A6FA2
secondary
#C08D68
accent
#8846E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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