#2D5D94#2D5D94

#2D5D94 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.2% C 0.104 H 253.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2D5D94
RGBrgb(45, 93, 148)
HSLhsl(212, 53%, 38%)
HSVhsv(212, 70%, 58%)
CMYKcmyk(69.6%, 37.2%, 0%, 42%)
CIE-LABlab(38.77, 2.63, -34.99)
CIE-LCHlch(38.77, 35.09, 274.29°)
OKLaboklab(47.24% -0.0294 -0.0994)
OKLCHoklch(47.24% 0.104 253.5)
XYZxyz(10.3399, 10.5236, 29.4976)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D94 #94642D
analogous
#2D9094 #2D5D94 #302D94
triadic
#2D5D94 #942D5D #5D942D
tetradic
#2D5D94 #942D90 #94642D #2D9430
square
#2D5D94 #942D90 #94642D #2D9430
split-complementary
#2D5D94 #94302D #90942D
monochromatic
#102236 #1F4065 #2D5D94 #3B7AC3 #6A9AD2

Accessibility & contrast

On white

6.76
#2D5D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2D5D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5D94
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D94#FFFFFF#000000##FFFFFF
##2D5D941.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446196
Deuteranopia (green-blind)
#365793
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5d94;
/* rgb */ color: rgb(45, 93, 148);
/* oklch */ color: oklch(47.2% 0.104 253.5);
Tailwind
colors: {
  custom: {
    50: '#728ab4',
    500: '#2d5d94',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d94;
$custom-light: #728ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d94",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 148
  },
  "hsl": {
    "h": 212.039,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.10368,
    "h": 253.5
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#2D5D94
secondary
#B89164
accent
#994BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5D94

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

Preview Lab → · Contrast checker → · Palette generator →

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