#2D5C95#2D5C95

#2D5C95 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.106 H 254.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2D5C95
RGBrgb(45, 92, 149)
HSLhsl(213, 54%, 38%)
HSVhsv(213, 70%, 58%)
CMYKcmyk(69.8%, 38.3%, 0%, 41.6%)
CIE-LABlab(38.52, 3.64, -35.98)
CIE-LCHlch(38.52, 36.17, 275.77°)
OKLaboklab(47.06% -0.0281 -0.1023)
OKLCHoklch(47.06% 0.106 254.6)
XYZxyz(10.3322, 10.3810, 29.8872)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C95 #95662D
analogous
#2D9095 #2D5C95 #322D95
triadic
#2D5C95 #952D5C #5C952D
tetradic
#2D5C95 #952D90 #95662D #2D9532
square
#2D5C95 #952D90 #95662D #2D9532
split-complementary
#2D5C95 #95322D #90952D
monochromatic
#112237 #1F3F66 #2D5C95 #3B79C4 #6A99D2

Accessibility & contrast

On white

6.83
#2D5C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2D5C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5C95
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C95#FFFFFF#000000##FFFFFF
##2D5C951.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426097
Deuteranopia (green-blind)
#335694
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5c95;
/* rgb */ color: rgb(45, 92, 149);
/* oklch */ color: oklch(47.1% 0.106 254.6);
Tailwind
colors: {
  custom: {
    50: '#7289b4',
    500: '#2d5c95',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c95;
$custom-light: #7289b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c95",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 149
  },
  "hsl": {
    "h": 212.885,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47063,
    "c": 0.10614,
    "h": 254.6
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

primary
#2D5C95
secondary
#B99365
accent
#9B4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5C95

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

Preview Lab → · Contrast checker → · Palette generator →

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