#2D7298#2D7298

#2D7298 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.6% C 0.091 H 236.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2D7298
RGBrgb(45, 114, 152)
HSLhsl(201, 54%, 39%)
HSVhsv(201, 70%, 60%)
CMYKcmyk(70.4%, 25%, 0%, 40.4%)
CIE-LABlab(45.44, -8.77, -26.90)
CIE-LCHlch(45.44, 28.29, 251.94°)
OKLaboklab(52.57% -0.0503 -0.0757)
OKLCHoklch(52.57% 0.091 236.4)
XYZxyz(12.7648, 14.8581, 31.8948)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7298 #98532D
analogous
#2D9888 #2D7298 #2D3C98
triadic
#2D7298 #982D72 #72982D
tetradic
#2D7298 #882D98 #98532D #3C982D
square
#2D7298 #882D98 #98532D #3C982D
split-complementary
#2D7298 #982D3C #98882D
monochromatic
#112B3A #1F4F69 #2D7298 #3D95C5 #6CAFD3

Accessibility & contrast

On white

5.29
#2D7298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2D7298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7298
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7298#FFFFFF#000000##FFFFFF
##2D72981.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60719A
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7298;
/* rgb */ color: rgb(45, 114, 152);
/* oklch */ color: oklch(52.6% 0.091 236.4);
Tailwind
colors: {
  custom: {
    50: '#739ab6',
    500: '#2d7298',
    950: '#000000',
  },
}
SCSS
$custom: #2d7298;
$custom-light: #739ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7298",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 152
  },
  "hsl": {
    "h": 201.308,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.09085,
    "h": 236.4
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#2D7298
secondary
#BA8466
accent
#7F4ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D7298

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

Preview Lab → · Contrast checker → · Palette generator →

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