#2A6885#2A6885

#2A6885 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.0% C 0.078 H 231.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2A6885
RGBrgb(42, 104, 133)
HSLhsl(199, 52%, 34%)
HSVhsv(199, 68%, 52%)
CMYKcmyk(68.4%, 21.8%, 0%, 47.8%)
CIE-LABlab(41.35, -10.09, -21.91)
CIE-LCHlch(41.35, 24.12, 245.27°)
OKLaboklab(49.01% -0.0484 -0.0614)
OKLCHoklch(49.01% 0.078 231.8)
XYZxyz(10.1371, 12.0852, 23.9842)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6885 #85472A
analogous
#2A8575 #2A6885 #2A3B85
triadic
#2A6885 #852A68 #68852A
tetradic
#2A6885 #752A85 #85472A #3B852A
square
#2A6885 #752A85 #85472A #3B852A
split-complementary
#2A6885 #852A3B #85752A
monochromatic
#0D1F28 #1B4456 #2A6885 #398CB4 #5DA9CC

Accessibility & contrast

On white

6.15
#2A6885 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2A6885 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6885
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6885#FFFFFF#000000##FFFFFF
##2A68851.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6786
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a6885;
/* rgb */ color: rgb(42, 104, 133);
/* oklch */ color: oklch(49.0% 0.078 231.8);
Tailwind
colors: {
  custom: {
    50: '#6f93a8',
    500: '#2a6885',
    950: '#000000',
  },
}
SCSS
$custom: #2a6885;
$custom-light: #6f93a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6885",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 133
  },
  "hsl": {
    "h": 199.121,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.07816,
    "h": 231.8
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#2A6885
secondary
#B27559
accent
#7A4CDB
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #2A6885

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

Preview Lab → · Contrast checker → · Palette generator →

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