#2D5D9E#2D5D9E

#2D5D9E is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.117 H 256.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2D5D9E
RGBrgb(45, 93, 158)
HSLhsl(215, 56%, 40%)
HSVhsv(215, 72%, 62%)
CMYKcmyk(71.5%, 41.1%, 0%, 38%)
CIE-LABlab(39.33, 6.37, -40.08)
CIE-LCHlch(39.33, 40.58, 279.04°)
OKLaboklab(47.87% -0.027 -0.1143)
OKLCHoklch(47.87% 0.117 256.7)
XYZxyz(11.1658, 10.8540, 33.8477)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D9E #9E6E2D
analogous
#2D969E #2D5D9E #352D9E
triadic
#2D5D9E #9E2D5D #5D9E2D
tetradic
#2D5D9E #9E2D96 #9E6E2D #2D9E35
square
#2D5D9E #9E2D96 #9E6E2D #2D9E35
split-complementary
#2D5D9E #9E352D #969E2D
monochromatic
#12253F #1F416E #2D5D9E #407AC9 #6F9BD6

Accessibility & contrast

On white

6.62
#2D5D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2D5D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5D9E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D9E#FFFFFF#000000##FFFFFF
##2D5D9E1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F62A1
Deuteranopia (green-blind)
#2D589D
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5d9e;
/* rgb */ color: rgb(45, 93, 158);
/* oklch */ color: oklch(47.9% 0.117 256.7);
Tailwind
colors: {
  custom: {
    50: '#748abb',
    500: '#2d5d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d9e;
$custom-light: #748abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d9e",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 158
  },
  "hsl": {
    "h": 214.513,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47866,
    "c": 0.11748,
    "h": 256.7
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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