#2D5E9B#2D5E9B

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

Color values

HEX#2D5E9B
RGBrgb(45, 94, 155)
HSLhsl(213, 55%, 39%)
HSVhsv(213, 71%, 61%)
CMYKcmyk(71%, 39.4%, 0%, 39.2%)
CIE-LABlab(39.46, 4.60, -38.09)
CIE-LCHlch(39.46, 38.36, 276.89°)
OKLaboklab(47.91% -0.0287 -0.1085)
OKLCHoklch(47.91% 0.112 255.2)
XYZxyz(10.9991, 10.9287, 32.5338)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E9B #9B6A2D
analogous
#2D959B #2D5E9B #332D9B
triadic
#2D5E9B #9B2D5E #5E9B2D
tetradic
#2D5E9B #9B2D95 #9B6A2D #2D9B33
square
#2D5E9B #9B2D95 #9B6A2D #2D9B33
split-complementary
#2D5E9B #9B332D #959B2D
monochromatic
#11243C #1F416C #2D5E9B #3E7BC7 #6E9CD5

Accessibility & contrast

On white

6.59
#2D5E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D5E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5E9B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E9B#FFFFFF#000000##FFFFFF
##2D5E9B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639D
Deuteranopia (green-blind)
#31589A
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5e9b;
/* rgb */ color: rgb(45, 94, 155);
/* oklch */ color: oklch(47.9% 0.112 255.2);
Tailwind
colors: {
  custom: {
    50: '#738bb9',
    500: '#2d5e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e9b;
$custom-light: #738bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e9b",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 155
  },
  "hsl": {
    "h": 213.273,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47908,
    "c": 0.1122,
    "h": 255.2
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#2D5E9B
secondary
#BC9668
accent
#9C49DE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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