#2D5D9D#2D5D9D

#2D5D9D is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.8% C 0.116 H 256.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2D5D9D
RGBrgb(45, 93, 157)
HSLhsl(214, 55%, 40%)
HSVhsv(214, 71%, 62%)
CMYKcmyk(71.3%, 40.8%, 0%, 38.4%)
CIE-LABlab(39.28, 6.00, -39.58)
CIE-LCHlch(39.28, 40.03, 278.62°)
OKLaboklab(47.8% -0.0272 -0.1129)
OKLCHoklch(47.8% 0.116 256.5)
XYZxyz(11.0801, 10.8197, 33.3962)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D9D #9D6D2D
analogous
#2D959D #2D5D9D #352D9D
triadic
#2D5D9D #9D2D5D #5D9D2D
tetradic
#2D5D9D #9D2D95 #9D6D2D #2D9D35
square
#2D5D9D #9D2D95 #9D6D2D #2D9D35
split-complementary
#2D5D9D #9D352D #959D2D
monochromatic
#12253E #1F416D #2D5D9D #3F7AC8 #6F9BD6

Accessibility & contrast

On white

6.64
#2D5D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2D5D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5D9D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D9D#FFFFFF#000000##FFFFFF
##2D5D9D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F62A0
Deuteranopia (green-blind)
#2E589C
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d5d9d;
/* rgb */ color: rgb(45, 93, 157);
/* oklch */ color: oklch(47.8% 0.116 256.5);
Tailwind
colors: {
  custom: {
    50: '#748aba',
    500: '#2d5d9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d9d;
$custom-light: #748aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d9d",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 157
  },
  "hsl": {
    "h": 214.286,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.11609,
    "h": 256.5
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#2D5D9D
secondary
#BD9969
accent
#9F49DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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