#2D5894#2D5894

#2D5894 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.109 H 257.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2D5894
RGBrgb(45, 88, 148)
HSLhsl(215, 53%, 38%)
HSVhsv(215, 70%, 58%)
CMYKcmyk(69.6%, 40.5%, 0%, 42%)
CIE-LABlab(37.25, 5.84, -37.39)
CIE-LCHlch(37.25, 37.84, 278.88°)
OKLaboklab(46.06% -0.0243 -0.1065)
OKLCHoklch(46.06% 0.109 257.2)
XYZxyz(9.9153, 9.6744, 29.3560)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5894 #94692D
analogous
#2D8C94 #2D5894 #352D94
triadic
#2D5894 #942D58 #58942D
tetradic
#2D5894 #942D8C #94692D #2D9435
square
#2D5894 #942D8C #94692D #2D9435
split-complementary
#2D5894 #94352D #8C942D
monochromatic
#102036 #1F3C65 #2D5894 #3B74C3 #6A95D2

Accessibility & contrast

On white

7.16
#2D5894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2D5894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5894
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5894#FFFFFF#000000##FFFFFF
##2D58941.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5D96
Deuteranopia (green-blind)
#2D5393
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d5894;
/* rgb */ color: rgb(45, 88, 148);
/* oklch */ color: oklch(46.1% 0.109 257.2);
Tailwind
colors: {
  custom: {
    50: '#7286b4',
    500: '#2d5894',
    950: '#000000',
  },
}
SCSS
$custom: #2d5894;
$custom-light: #7286b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5894",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 214.951,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.10926,
    "h": 257.2
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#2D5894
secondary
#B89564
accent
#A04BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5894

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

Preview Lab → · Contrast checker → · Palette generator →

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