#2D5F9D#2D5F9D

#2D5F9D is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.3% C 0.114 H 255.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2D5F9D
RGBrgb(45, 95, 157)
HSLhsl(213, 55%, 40%)
HSVhsv(213, 71%, 62%)
CMYKcmyk(71.3%, 39.5%, 0%, 38.4%)
CIE-LABlab(39.87, 4.71, -38.62)
CIE-LCHlch(39.87, 38.91, 276.96°)
OKLaboklab(48.27% -0.0292 -0.11)
OKLCHoklch(48.27% 0.114 255.2)
XYZxyz(11.2580, 11.1754, 33.4555)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F9D #9D6B2D
analogous
#2D979D #2D5F9D #332D9D
triadic
#2D5F9D #9D2D5F #5F9D2D
tetradic
#2D5F9D #9D2D97 #9D6B2D #2D9D33
square
#2D5F9D #9D2D97 #9D6B2D #2D9D33
split-complementary
#2D5F9D #9D332D #979D2D
monochromatic
#12253E #1F426D #2D5F9D #3F7CC8 #6F9DD6

Accessibility & contrast

On white

6.49
#2D5F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2D5F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F9D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F9D#FFFFFF#000000##FFFFFF
##2D5F9D1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43649F
Deuteranopia (green-blind)
#31599C
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5f9d;
/* rgb */ color: rgb(45, 95, 157);
/* oklch */ color: oklch(48.3% 0.114 255.2);
Tailwind
colors: {
  custom: {
    50: '#748cba',
    500: '#2d5f9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f9d;
$custom-light: #748cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f9d",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 213.214,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48268,
    "c": 0.11383,
    "h": 255.2
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#2D5F9D
secondary
#BD9769
accent
#9C49DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2D5F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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