#2D6897#2D6897

#2D6897 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.1% C 0.097 H 245.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2D6897
RGBrgb(45, 104, 151)
HSLhsl(207, 54%, 38%)
HSVhsv(207, 70%, 59%)
CMYKcmyk(70.2%, 31.1%, 0%, 40.8%)
CIE-LABlab(42.29, -3.14, -31.22)
CIE-LCHlch(42.29, 31.38, 264.26°)
OKLaboklab(50.06% -0.0401 -0.0883)
OKLCHoklch(50.06% 0.097 245.6)
XYZxyz(11.6163, 12.6916, 31.1097)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6897 #975C2D
analogous
#2D9791 #2D6897 #2D3397
triadic
#2D6897 #972D68 #68972D
tetradic
#2D6897 #912D97 #975C2D #33972D
square
#2D6897 #912D97 #975C2D #33972D
split-complementary
#2D6897 #972D33 #97912D
monochromatic
#112739 #1F4868 #2D6897 #3C88C5 #6BA5D3

Accessibility & contrast

On white

5.93
#2D6897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2D6897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6897
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6897#FFFFFF#000000##FFFFFF
##2D68971.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536999
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d6897;
/* rgb */ color: rgb(45, 104, 151);
/* oklch */ color: oklch(50.1% 0.097 245.6);
Tailwind
colors: {
  custom: {
    50: '#7392b6',
    500: '#2d6897',
    950: '#000000',
  },
}
SCSS
$custom: #2d6897;
$custom-light: #7392b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6897",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 151
  },
  "hsl": {
    "h": 206.604,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.09695,
    "h": 245.6
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#2D6897
secondary
#BA8B66
accent
#8C4ADD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #2D6897

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

Preview Lab → · Contrast checker → · Palette generator →

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