#2A6398#2A6398

#2A6398 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.8% C 0.104 H 249.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2A6398
RGBrgb(42, 99, 152)
HSLhsl(209, 57%, 38%)
HSVhsv(209, 72%, 60%)
CMYKcmyk(72.4%, 34.9%, 0%, 40.4%)
CIE-LABlab(40.71, -0.15, -34.33)
CIE-LCHlch(40.71, 34.33, 269.74°)
OKLaboklab(48.8% -0.0366 -0.0974)
OKLCHoklch(48.8% 0.104 249.4)
XYZxyz(11.0821, 11.6817, 31.3704)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6398 #985F2A
analogous
#2A9896 #2A6398 #2A2C98
triadic
#2A6398 #982A63 #63982A
tetradic
#2A6398 #962A98 #985F2A #2C982A
square
#2A6398 #962A98 #985F2A #2C982A
split-complementary
#2A6398 #982A2C #98962A
monochromatic
#102538 #1D4468 #2A6398 #3782C8 #67A0D5

Accessibility & contrast

On white

6.29
#2A6398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2A6398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6398
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6398#FFFFFF#000000##FFFFFF
##2A63981.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669A
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#007076
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6398;
/* rgb */ color: rgb(42, 99, 152);
/* oklch */ color: oklch(48.8% 0.104 249.4);
Tailwind
colors: {
  custom: {
    50: '#728fb6',
    500: '#2a6398',
    950: '#000000',
  },
}
SCSS
$custom: #2a6398;
$custom-light: #728fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6398",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 152
  },
  "hsl": {
    "h": 208.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48798,
    "c": 0.10409,
    "h": 249.4
  },
  "luminance": 0.11683
}

Semantic roles & 50–950 ramp

primary
#2A6398
secondary
#BB8D62
accent
#9148E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2A6398

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

Preview Lab → · Contrast checker → · Palette generator →

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