#2D6F97#2D6F97

#2D6F97 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.8% C 0.092 H 238.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2D6F97
RGBrgb(45, 111, 151)
HSLhsl(203, 54%, 38%)
HSVhsv(203, 70%, 59%)
CMYKcmyk(70.2%, 26.5%, 0%, 40.8%)
CIE-LABlab(44.46, -7.36, -27.83)
CIE-LCHlch(44.46, 28.78, 255.19°)
OKLaboklab(51.78% -0.0475 -0.0784)
OKLCHoklch(51.78% 0.092 238.8)
XYZxyz(12.3504, 14.1598, 31.3544)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F97 #97552D
analogous
#2D978A #2D6F97 #2D3A97
triadic
#2D6F97 #972D6F #6F972D
tetradic
#2D6F97 #8A2D97 #97552D #3A972D
square
#2D6F97 #8A2D97 #97552D #3A972D
split-complementary
#2D6F97 #972D3A #978A2D
monochromatic
#112A39 #1F4C68 #2D6F97 #3C91C5 #6BACD3

Accessibility & contrast

On white

5.48
#2D6F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2D6F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6F97
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6F97#FFFFFF#000000##FFFFFF
##2D6F971.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F99
Deuteranopia (green-blind)
#4E6596
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d6f97;
/* rgb */ color: rgb(45, 111, 151);
/* oklch */ color: oklch(51.8% 0.092 238.8);
Tailwind
colors: {
  custom: {
    50: '#7398b5',
    500: '#2d6f97',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f97;
$custom-light: #7398b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f97",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 151
  },
  "hsl": {
    "h": 202.642,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.09163,
    "h": 238.8
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#2D6F97
secondary
#BA8666
accent
#824ADD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2D6F97

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

Preview Lab → · Contrast checker → · Palette generator →

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