#2D5F8D#2D5F8D

#2D5F8D is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.3% C 0.092 H 248.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2D5F8D
RGBrgb(45, 95, 141)
HSLhsl(209, 52%, 36%)
HSVhsv(209, 68%, 55%)
CMYKcmyk(68.1%, 32.6%, 0%, 44.7%)
CIE-LABlab(39.01, -1.22, -30.38)
CIE-LCHlch(39.01, 30.41, 267.70°)
OKLaboklab(47.31% -0.0336 -0.0859)
OKLCHoklch(47.31% 0.092 248.7)
XYZxyz(9.9803, 10.6644, 26.7266)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F8D #8D5B2D
analogous
#2D8D8B #2D5F8D #2D2F8D
triadic
#2D5F8D #8D2D5F #5F8D2D
tetradic
#2D5F8D #8B2D8D #8D5B2D #2F8D2D
square
#2D5F8D #8B2D8D #8D5B2D #2F8D2D
split-complementary
#2D5F8D #8D2D2F #8D8B2D
monochromatic
#0F2030 #1E405F #2D5F8D #3C7EBB #669CCE

Accessibility & contrast

On white

6.70
#2D5F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2D5F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F8D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F8D#FFFFFF#000000##FFFFFF
##2D5F8D1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#3D588C
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d5f8d;
/* rgb */ color: rgb(45, 95, 141);
/* oklch */ color: oklch(47.3% 0.092 248.7);
Tailwind
colors: {
  custom: {
    50: '#718cae',
    500: '#2d5f8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f8d;
$custom-light: #718cae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f8d",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 208.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47308,
    "c": 0.09228,
    "h": 248.7
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#2D5F8D
secondary
#B58961
accent
#914DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2D5F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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