#2D5F8E#2D5F8E

#2D5F8E is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.094 H 249.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2D5F8E
RGBrgb(45, 95, 142)
HSLhsl(209, 52%, 37%)
HSVhsv(209, 68%, 56%)
CMYKcmyk(68.3%, 33.1%, 0%, 44.3%)
CIE-LABlab(39.06, -0.86, -30.90)
CIE-LCHlch(39.06, 30.92, 268.41°)
OKLaboklab(47.37% -0.0333 -0.0875)
OKLCHoklch(47.37% 0.094 249.2)
XYZxyz(10.0551, 10.6943, 27.1202)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F8E #8E5C2D
analogous
#2D8E8D #2D5F8E #2D2F8E
triadic
#2D5F8E #8E2D5F #5F8E2D
tetradic
#2D5F8E #8D2D8E #8E5C2D #2F8E2D
square
#2D5F8E #8D2D8E #8E5C2D #2F8E2D
split-complementary
#2D5F8E #8E2D2F #8E8D2D
monochromatic
#102131 #1E4060 #2D5F8E #3C7EBC #679CCF

Accessibility & contrast

On white

6.69
#2D5F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2D5F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F8E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F8E#FFFFFF#000000##FFFFFF
##2D5F8E1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#3D588D
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d5f8e;
/* rgb */ color: rgb(45, 95, 142);
/* oklch */ color: oklch(47.4% 0.094 249.2);
Tailwind
colors: {
  custom: {
    50: '#718caf',
    500: '#2d5f8e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f8e;
$custom-light: #718caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f8e",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 142
  },
  "hsl": {
    "h": 209.072,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47366,
    "c": 0.09359,
    "h": 249.2
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#2D5F8E
secondary
#B58A61
accent
#924CDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2D5F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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