#2A6286#2A6286

#2A6286 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.5% C 0.083 H 240.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2A6286
RGBrgb(42, 98, 134)
HSLhsl(203, 52%, 35%)
HSVhsv(203, 69%, 53%)
CMYKcmyk(68.7%, 26.9%, 0%, 47.5%)
CIE-LABlab(39.49, -6.14, -25.40)
CIE-LCHlch(39.49, 26.13, 256.40°)
OKLaboklab(47.55% -0.0413 -0.0715)
OKLCHoklch(47.55% 0.083 240)
XYZxyz(9.6240, 10.9478, 24.1556)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6286 #864E2A
analogous
#2A867C #2A6286 #2A3486
triadic
#2A6286 #862A62 #62862A
tetradic
#2A6286 #7C2A86 #864E2A #34862A
square
#2A6286 #7C2A86 #864E2A #34862A
split-complementary
#2A6286 #862A34 #867C2A
monochromatic
#0D1E29 #1B4057 #2A6286 #3984B5 #5EA1CD

Accessibility & contrast

On white

6.58
#2A6286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2A6286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6286
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6286#FFFFFF#000000##FFFFFF
##2A62861.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516288
Deuteranopia (green-blind)
#455985
Tritanopia (blue-blind)
#006B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6286;
/* rgb */ color: rgb(42, 98, 134);
/* oklch */ color: oklch(47.5% 0.083 240.0);
Tailwind
colors: {
  custom: {
    50: '#6e8ea9',
    500: '#2a6286',
    950: '#000000',
  },
}
SCSS
$custom: #2a6286;
$custom-light: #6e8ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6286",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 134
  },
  "hsl": {
    "h": 203.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47545,
    "c": 0.08258,
    "h": 240
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#2A6286
secondary
#B27C5A
accent
#844CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A6286

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

Preview Lab → · Contrast checker → · Palette generator →

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