#2A6883#2A6883

#2A6883 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.9% C 0.076 H 229.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2A6883
RGBrgb(42, 104, 131)
HSLhsl(198, 51%, 34%)
HSVhsv(198, 68%, 51%)
CMYKcmyk(67.9%, 20.6%, 0%, 48.6%)
CIE-LABlab(41.26, -10.78, -20.83)
CIE-LCHlch(41.26, 23.46, 242.63°)
OKLaboklab(48.91% -0.0491 -0.0583)
OKLCHoklch(48.91% 0.076 229.9)
XYZxyz(10.0003, 12.0305, 23.2634)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6883 #83452A
analogous
#2A8372 #2A6883 #2A3C83
triadic
#2A6883 #832A68 #68832A
tetradic
#2A6883 #722A83 #83452A #3C832A
square
#2A6883 #722A83 #83452A #3C832A
split-complementary
#2A6883 #832A3C #83722A
monochromatic
#0C1E26 #1B4355 #2A6883 #398DB1 #5DA9CB

Accessibility & contrast

On white

6.16
#2A6883 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2A6883 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6883
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6883#FFFFFF#000000##FFFFFF
##2A68831.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6684
Deuteranopia (green-blind)
#4E5D83
Tritanopia (blue-blind)
#007071
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6883;
/* rgb */ color: rgb(42, 104, 131);
/* oklch */ color: oklch(48.9% 0.076 229.9);
Tailwind
colors: {
  custom: {
    50: '#6e93a7',
    500: '#2a6883',
    950: '#000000',
  },
}
SCSS
$custom: #2a6883;
$custom-light: #6e93a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6883",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 131
  },
  "hsl": {
    "h": 198.202,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4891,
    "c": 0.07626,
    "h": 229.9
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#2A6883
secondary
#B17358
accent
#784DDB
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #2A6883

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

Preview Lab → · Contrast checker → · Palette generator →

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