#2D5994#2D5994

#2D5994 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.3% C 0.108 H 256.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2D5994
RGBrgb(45, 89, 148)
HSLhsl(214, 53%, 38%)
HSVhsv(214, 70%, 58%)
CMYKcmyk(69.6%, 39.9%, 0%, 42%)
CIE-LABlab(37.55, 5.19, -36.91)
CIE-LCHlch(37.55, 37.27, 278.01°)
OKLaboklab(46.29% -0.0253 -0.1051)
OKLCHoklch(46.29% 0.108 256.5)
XYZxyz(9.9979, 9.8397, 29.3836)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5994 #94682D
analogous
#2D8C94 #2D5994 #342D94
triadic
#2D5994 #942D59 #59942D
tetradic
#2D5994 #942D8C #94682D #2D9434
square
#2D5994 #942D8C #94682D #2D9434
split-complementary
#2D5994 #94342D #8C942D
monochromatic
#102136 #1F3D65 #2D5994 #3B75C3 #6A96D2

Accessibility & contrast

On white

7.07
#2D5994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2D5994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5994
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5994#FFFFFF#000000##FFFFFF
##2D59941.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E96
Deuteranopia (green-blind)
#2F5493
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d5994;
/* rgb */ color: rgb(45, 89, 148);
/* oklch */ color: oklch(46.3% 0.108 256.5);
Tailwind
colors: {
  custom: {
    50: '#7287b4',
    500: '#2d5994',
    950: '#000000',
  },
}
SCSS
$custom: #2d5994;
$custom-light: #7287b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5994",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 148
  },
  "hsl": {
    "h": 214.369,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46293,
    "c": 0.10811,
    "h": 256.5
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#2D5994
secondary
#B89564
accent
#9F4BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5994

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

Preview Lab → · Contrast checker → · Palette generator →

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