#2A6399#2A6399

#2A6399 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.9% C 0.105 H 249.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2A6399
RGBrgb(42, 99, 153)
HSLhsl(209, 57%, 38%)
HSVhsv(209, 73%, 60%)
CMYKcmyk(72.5%, 35.3%, 0%, 40%)
CIE-LABlab(40.76, 0.22, -34.84)
CIE-LCHlch(40.76, 34.84, 270.36°)
OKLaboklab(48.86% -0.0363 -0.0989)
OKLCHoklch(48.86% 0.105 249.8)
XYZxyz(11.1643, 11.7146, 31.8036)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6399 #99602A
analogous
#2A9997 #2A6399 #2A2C99
triadic
#2A6399 #992A63 #63992A
tetradic
#2A6399 #972A99 #99602A #2C992A
square
#2A6399 #972A99 #99602A #2C992A
split-complementary
#2A6399 #992A2C #99972A
monochromatic
#102539 #1D4469 #2A6399 #3882C8 #68A0D6

Accessibility & contrast

On white

6.28
#2A6399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6399
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6399#FFFFFF#000000##FFFFFF
##2A63991.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#3B5B98
Tritanopia (blue-blind)
#007077
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6399;
/* rgb */ color: rgb(42, 99, 153);
/* oklch */ color: oklch(48.9% 0.105 249.8);
Tailwind
colors: {
  custom: {
    50: '#728fb7',
    500: '#2a6399',
    950: '#000000',
  },
}
SCSS
$custom: #2a6399;
$custom-light: #728fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6399",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 153
  },
  "hsl": {
    "h": 209.189,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48858,
    "c": 0.1054,
    "h": 249.8
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#2A6399
secondary
#BC8E63
accent
#9248E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2A6399

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

Preview Lab → · Contrast checker → · Palette generator →

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