#2A6397#2A6397

#2A6397 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.7% C 0.103 H 249.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2A6397
RGBrgb(42, 99, 151)
HSLhsl(209, 56%, 38%)
HSVhsv(209, 72%, 59%)
CMYKcmyk(72.2%, 34.4%, 0%, 40.8%)
CIE-LABlab(40.65, -0.53, -33.81)
CIE-LCHlch(40.65, 33.82, 269.11°)
OKLaboklab(48.74% -0.0369 -0.0959)
OKLCHoklch(48.74% 0.103 249)
XYZxyz(11.0005, 11.6491, 30.9409)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6397 #975E2A
analogous
#2A9795 #2A6397 #2A2C97
triadic
#2A6397 #972A63 #63972A
tetradic
#2A6397 #952A97 #975E2A #2C972A
square
#2A6397 #952A97 #975E2A #2C972A
split-complementary
#2A6397 #972A2C #97952A
monochromatic
#0F2437 #1D4467 #2A6397 #3782C7 #67A0D5

Accessibility & contrast

On white

6.31
#2A6397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2A6397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6397
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6397#FFFFFF#000000##FFFFFF
##2A63971.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6599
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6397;
/* rgb */ color: rgb(42, 99, 151);
/* oklch */ color: oklch(48.7% 0.103 249.0);
Tailwind
colors: {
  custom: {
    50: '#728fb6',
    500: '#2a6397',
    950: '#000000',
  },
}
SCSS
$custom: #2a6397;
$custom-light: #728fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6397",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 208.624,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4874,
    "c": 0.1028,
    "h": 249
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#2A6397
secondary
#BB8C62
accent
#9048E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2A6397

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

Preview Lab → · Contrast checker → · Palette generator →

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