#2D5D9F#2D5D9F

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

Color values

HEX#2D5D9F
RGBrgb(45, 93, 159)
HSLhsl(215, 56%, 40%)
HSVhsv(215, 72%, 62%)
CMYKcmyk(71.7%, 41.5%, 0%, 37.6%)
CIE-LABlab(39.39, 6.75, -40.58)
CIE-LCHlch(39.39, 41.14, 279.45°)
OKLaboklab(47.93% -0.0267 -0.1158)
OKLCHoklch(47.93% 0.119 257)
XYZxyz(11.2523, 10.8886, 34.3029)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D9F #9F6F2D
analogous
#2D969F #2D5D9F #362D9F
triadic
#2D5D9F #9F2D5D #5D9F2D
tetradic
#2D5D9F #9F2D96 #9F6F2D #2D9F36
square
#2D5D9F #9F2D96 #9F6F2D #2D9F36
split-complementary
#2D5D9F #9F362D #969F2D
monochromatic
#122540 #20416F #2D5D9F #407AC9 #709BD6

Accessibility & contrast

On white

6.61
#2D5D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2D5D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5D9F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D9F#FFFFFF#000000##FFFFFF
##2D5D9F1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5d9f;
/* rgb */ color: rgb(45, 93, 159);
/* oklch */ color: oklch(47.9% 0.119 257.0);
Tailwind
colors: {
  custom: {
    50: '#748abc',
    500: '#2d5d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d9f;
$custom-light: #748abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d9f",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 159
  },
  "hsl": {
    "h": 214.737,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.47931,
    "c": 0.11886,
    "h": 257
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#2D5D9F
secondary
#BE9B6A
accent
#A049DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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