#2D5E97#2D5E97

#2D5E97 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.107 H 253.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2D5E97
RGBrgb(45, 94, 151)
HSLhsl(212, 54%, 38%)
HSVhsv(212, 70%, 59%)
CMYKcmyk(70.2%, 37.7%, 0%, 40.8%)
CIE-LABlab(39.24, 3.11, -36.05)
CIE-LCHlch(39.24, 36.18, 274.93°)
OKLaboklab(47.66% -0.0297 -0.1025)
OKLCHoklch(47.66% 0.107 253.9)
XYZxyz(10.6688, 10.7965, 30.7938)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E97 #97662D
analogous
#2D9397 #2D5E97 #312D97
triadic
#2D5E97 #972D5E #5E972D
tetradic
#2D5E97 #972D93 #97662D #2D9731
square
#2D5E97 #972D93 #97662D #2D9731
split-complementary
#2D5E97 #97312D #93972D
monochromatic
#112339 #1F4168 #2D5E97 #3C7BC5 #6B9BD3

Accessibility & contrast

On white

6.65
#2D5E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2D5E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5E97
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E97#FFFFFF#000000##FFFFFF
##2D5E971.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d5e97;
/* rgb */ color: rgb(45, 94, 151);
/* oklch */ color: oklch(47.7% 0.107 253.9);
Tailwind
colors: {
  custom: {
    50: '#738bb6',
    500: '#2d5e97',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e97;
$custom-light: #738bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e97",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 212.264,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.10671,
    "h": 253.9
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

primary
#2D5E97
secondary
#BA9366
accent
#994ADD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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