#2D5A95#2D5A95

#2D5A95 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.6% C 0.108 H 256.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2D5A95
RGBrgb(45, 90, 149)
HSLhsl(214, 54%, 38%)
HSVhsv(214, 70%, 58%)
CMYKcmyk(69.8%, 39.6%, 0%, 41.6%)
CIE-LABlab(37.91, 4.92, -36.94)
CIE-LCHlch(37.91, 37.27, 277.59°)
OKLaboklab(46.59% -0.0261 -0.1052)
OKLCHoklch(46.59% 0.108 256.1)
XYZxyz(10.1612, 10.0391, 29.8302)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A95 #95682D
analogous
#2D8E95 #2D5A95 #342D95
triadic
#2D5A95 #952D5A #5A952D
tetradic
#2D5A95 #952D8E #95682D #2D9534
square
#2D5A95 #952D8E #95682D #2D9534
split-complementary
#2D5A95 #95342D #8E952D
monochromatic
#112137 #1F3E66 #2D5A95 #3B76C4 #6A97D2

Accessibility & contrast

On white

6.98
#2D5A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2D5A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5A95
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A95#FFFFFF#000000##FFFFFF
##2D5A951.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F97
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5a95;
/* rgb */ color: rgb(45, 90, 149);
/* oklch */ color: oklch(46.6% 0.108 256.1);
Tailwind
colors: {
  custom: {
    50: '#7288b4',
    500: '#2d5a95',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a95;
$custom-light: #7288b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a95",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 149
  },
  "hsl": {
    "h": 214.038,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.10837,
    "h": 256.1
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#2D5A95
secondary
#B99565
accent
#9E4BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5A95

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

Preview Lab → · Contrast checker → · Palette generator →

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