#2D5E9E#2D5E9E

#2D5E9E is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.1% C 0.116 H 256.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2D5E9E
RGBrgb(45, 94, 158)
HSLhsl(214, 56%, 40%)
HSVhsv(214, 72%, 62%)
CMYKcmyk(71.5%, 40.5%, 0%, 38%)
CIE-LABlab(39.63, 5.73, -39.61)
CIE-LCHlch(39.63, 40.02, 278.23°)
OKLaboklab(48.1% -0.0279 -0.1129)
OKLCHoklch(48.1% 0.116 256.1)
XYZxyz(11.2542, 11.0307, 33.8771)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E9E #9E6D2D
analogous
#2D979E #2D5E9E #342D9E
triadic
#2D5E9E #9E2D5E #5E9E2D
tetradic
#2D5E9E #9E2D97 #9E6D2D #2D9E34
square
#2D5E9E #9E2D97 #9E6D2D #2D9E34
split-complementary
#2D5E9E #9E342D #979E2D
monochromatic
#12253F #1F426E #2D5E9E #407BC9 #6F9CD6

Accessibility & contrast

On white

6.55
#2D5E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2D5E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5E9E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E9E#FFFFFF#000000##FFFFFF
##2D5E9E1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4063A1
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5e9e;
/* rgb */ color: rgb(45, 94, 158);
/* oklch */ color: oklch(48.1% 0.116 256.1);
Tailwind
colors: {
  custom: {
    50: '#748bbb',
    500: '#2d5e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e9e;
$custom-light: #748bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e9e",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 158
  },
  "hsl": {
    "h": 213.982,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.11633,
    "h": 256.1
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#2D5E9E
secondary
#BD9969
accent
#9E49DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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