#2D5D95#2D5D95

#2D5D95 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.105 H 253.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2D5D95
RGBrgb(45, 93, 149)
HSLhsl(212, 54%, 38%)
HSVhsv(212, 70%, 58%)
CMYKcmyk(69.8%, 37.6%, 0%, 41.6%)
CIE-LABlab(38.82, 3.00, -35.50)
CIE-LCHlch(38.82, 35.63, 274.83°)
OKLaboklab(47.3% -0.0292 -0.1009)
OKLCHoklch(47.3% 0.105 253.9)
XYZxyz(10.4194, 10.5554, 29.9162)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D95 #95652D
analogous
#2D9195 #2D5D95 #312D95
triadic
#2D5D95 #952D5D #5D952D
tetradic
#2D5D95 #952D91 #95652D #2D9531
square
#2D5D95 #952D91 #95652D #2D9531
split-complementary
#2D5D95 #95312D #91952D
monochromatic
#112237 #1F4066 #2D5D95 #3B7AC4 #6A9AD2

Accessibility & contrast

On white

6.75
#2D5D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2D5D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5D95
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D95#FFFFFF#000000##FFFFFF
##2D5D951.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5d95;
/* rgb */ color: rgb(45, 93, 149);
/* oklch */ color: oklch(47.3% 0.105 253.9);
Tailwind
colors: {
  custom: {
    50: '#728ab4',
    500: '#2d5d95',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d95;
$custom-light: #728ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d95",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 212.308,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.473,
    "c": 0.10505,
    "h": 253.9
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#2D5D95
secondary
#B99265
accent
#9A4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5D95

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

Preview Lab → · Contrast checker → · Palette generator →

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