#2A6E98#2A6E98

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

Color values

HEX#2A6E98
RGBrgb(42, 110, 152)
HSLhsl(203, 57%, 38%)
HSVhsv(203, 72%, 60%)
CMYKcmyk(72.4%, 27.6%, 0%, 40.4%)
CIE-LABlab(44.10, -6.87, -28.99)
CIE-LCHlch(44.10, 29.79, 256.66°)
OKLaboklab(51.48% -0.0479 -0.0818)
OKLCHoklch(51.48% 0.095 239.6)
XYZxyz(12.1961, 13.9097, 31.7418)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E98 #98542A
analogous
#2A988B #2A6E98 #2A3798
triadic
#2A6E98 #982A6E #6E982A
tetradic
#2A6E98 #8B2A98 #98542A #37982A
square
#2A6E98 #8B2A98 #98542A #37982A
split-complementary
#2A6E98 #982A37 #988B2A
monochromatic
#102938 #1D4B68 #2A6E98 #3791C8 #67ABD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6E98#FFFFFF#000000##FFFFFF
##2A6E981.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)
#5A6E9A
Deuteranopia (green-blind)
#4B6497
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6e98;
/* rgb */ color: rgb(42, 110, 152);
/* oklch */ color: oklch(51.5% 0.095 239.6);
Tailwind
colors: {
  custom: {
    50: '#7297b6',
    500: '#2a6e98',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e98;
$custom-light: #7297b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e98",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 152
  },
  "hsl": {
    "h": 202.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.09477,
    "h": 239.6
  },
  "luminance": 0.13911
}

Semantic roles & 50–950 ramp

primary
#2A6E98
secondary
#BB8462
accent
#8248E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6E98

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

Preview Lab → · Contrast checker → · Palette generator →

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