#2A6BAA#2A6BAA

#2A6BAA is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.8% C 0.119 H 250.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A6BAA
RGBrgb(42, 107, 170)
HSLhsl(210, 60%, 42%)
HSVhsv(210, 75%, 67%)
CMYKcmyk(75.3%, 37.1%, 0%, 33.3%)
CIE-LABlab(44.10, 1.60, -39.61)
CIE-LCHlch(44.10, 39.65, 272.31°)
OKLaboklab(51.78% -0.0395 -0.1128)
OKLCHoklch(51.78% 0.119 250.7)
XYZxyz(13.4655, 13.9084, 39.9973)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BAA #AA692A
analogous
#2AAAA9 #2A6BAA #2A2BAA
triadic
#2A6BAA #AA2A6B #6BAA2A
tetradic
#2A6BAA #A92AAA #AA692A #2BAA2A
square
#2A6BAA #A92AAA #AA692A #2BAA2A
split-complementary
#2A6BAA #AA2A2B #AAA92A
monochromatic
#122D48 #1E4C79 #2A6BAA #418AD0 #72A8DC

Accessibility & contrast

On white

5.55
#2A6BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2A6BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BAA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BAA#FFFFFF#000000##FFFFFF
##2A6BAA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#007A82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6baa;
/* rgb */ color: rgb(42, 107, 170);
/* oklch */ color: oklch(51.8% 0.119 250.7);
Tailwind
colors: {
  custom: {
    50: '#7595c3',
    500: '#2a6baa',
    950: '#000000',
  },
}
SCSS
$custom: #2a6baa;
$custom-light: #7595c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6baa",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 170
  },
  "hsl": {
    "h": 209.531,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.11949,
    "h": 250.7
  },
  "luminance": 0.1391
}

Semantic roles & 50–950 ramp

primary
#2A6BAA
secondary
#C3976C
accent
#9344E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2A6BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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