#2D5B8F#2D5B8F

#2D5B8F is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.5% C 0.099 H 253.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2D5B8F
RGBrgb(45, 91, 143)
HSLhsl(212, 52%, 37%)
HSVhsv(212, 69%, 56%)
CMYKcmyk(68.5%, 36.4%, 0%, 43.9%)
CIE-LABlab(37.88, 2.04, -33.37)
CIE-LCHlch(37.88, 33.43, 273.50°)
OKLaboklab(46.46% -0.0287 -0.0947)
OKLCHoklch(46.46% 0.099 253.1)
XYZxyz(9.7794, 10.0222, 27.4004)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B8F #8F612D
analogous
#2D8C8F #2D5B8F #302D8F
triadic
#2D5B8F #8F2D5B #5B8F2D
tetradic
#2D5B8F #8F2D8C #8F612D #2D8F30
square
#2D5B8F #8F2D8C #8F612D #2D8F30
split-complementary
#2D5B8F #8F302D #8C8F2D
monochromatic
#102032 #1E3D60 #2D5B8F #3C79BE #6798CF

Accessibility & contrast

On white

6.99
#2D5B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2D5B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5B8F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B8F#FFFFFF#000000##FFFFFF
##2D5B8F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5b8f;
/* rgb */ color: rgb(45, 91, 143);
/* oklch */ color: oklch(46.5% 0.099 253.1);
Tailwind
colors: {
  custom: {
    50: '#7189b0',
    500: '#2d5b8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b8f;
$custom-light: #7189b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b8f",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 143
  },
  "hsl": {
    "h": 211.837,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.09896,
    "h": 253.1
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#2D5B8F
secondary
#B68E62
accent
#984CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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