#2A6F9B#2A6F9B

#2A6F9B is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.9% C 0.097 H 240.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2A6F9B
RGBrgb(42, 111, 155)
HSLhsl(203, 57%, 39%)
HSVhsv(203, 73%, 61%)
CMYKcmyk(72.9%, 28.4%, 0%, 39.2%)
CIE-LABlab(44.56, -6.39, -30.06)
CIE-LCHlch(44.56, 30.73, 258.01°)
OKLaboklab(51.89% -0.0479 -0.0849)
OKLCHoklch(51.89% 0.097 240.5)
XYZxyz(12.5534, 14.2263, 33.0883)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F9B #9B562A
analogous
#2A9B8E #2A6F9B #2A369B
triadic
#2A6F9B #9B2A6F #6F9B2A
tetradic
#2A6F9B #8E2A9B #9B562A #369B2A
square
#2A6F9B #8E2A9B #9B562A #369B2A
split-complementary
#2A6F9B #9B2A36 #9B8E2A
monochromatic
#102A3B #1D4D6B #2A6F9B #3991C9 #69ACD6

Accessibility & contrast

On white

5.46
#2A6F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A6F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F9B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F9B#FFFFFF#000000##FFFFFF
##2A6F9B1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9D
Deuteranopia (green-blind)
#4B659A
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6f9b;
/* rgb */ color: rgb(42, 111, 155);
/* oklch */ color: oklch(51.9% 0.097 240.5);
Tailwind
colors: {
  custom: {
    50: '#7398b8',
    500: '#2a6f9b',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f9b;
$custom-light: #7398b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f9b",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 155
  },
  "hsl": {
    "h": 203.363,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51885,
    "c": 0.09746,
    "h": 240.5
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#2A6F9B
secondary
#BD8764
accent
#8347E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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