#2D5F97#2D5F97

#2D5F97 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.106 H 253.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2D5F97
RGBrgb(45, 95, 151)
HSLhsl(212, 54%, 38%)
HSVhsv(212, 70%, 59%)
CMYKcmyk(70.2%, 37.1%, 0%, 40.8%)
CIE-LABlab(39.54, 2.47, -35.56)
CIE-LCHlch(39.54, 35.65, 273.97°)
OKLaboklab(47.9% -0.0307 -0.1011)
OKLCHoklch(47.9% 0.106 253.1)
XYZxyz(10.7583, 10.9755, 30.8237)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F97 #97652D
analogous
#2D9497 #2D5F97 #302D97
triadic
#2D5F97 #972D5F #5F972D
tetradic
#2D5F97 #972D94 #97652D #2D9730
square
#2D5F97 #972D94 #97652D #2D9730
split-complementary
#2D5F97 #97302D #94972D
monochromatic
#112439 #1F4168 #2D5F97 #3C7DC5 #6B9CD3

Accessibility & contrast

On white

6.57
#2D5F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2D5F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F97
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F97#FFFFFF#000000##FFFFFF
##2D5F971.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5f97;
/* rgb */ color: rgb(45, 95, 151);
/* oklch */ color: oklch(47.9% 0.106 253.1);
Tailwind
colors: {
  custom: {
    50: '#738cb6',
    500: '#2d5f97',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f97;
$custom-light: #738cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f97",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 211.698,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47897,
    "c": 0.10564,
    "h": 253.1
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#2D5F97
secondary
#BA9266
accent
#984ADD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2D5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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