#2D5EA2#2D5EA2

#2D5EA2 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.4% C 0.122 H 257.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2D5EA2
RGBrgb(45, 94, 162)
HSLhsl(215, 57%, 41%)
HSVhsv(215, 72%, 64%)
CMYKcmyk(72.2%, 42%, 0%, 36.5%)
CIE-LABlab(39.87, 7.24, -41.62)
CIE-LCHlch(39.87, 42.24, 279.87°)
OKLaboklab(48.36% -0.027 -0.1188)
OKLCHoklch(48.36% 0.122 257.2)
XYZxyz(11.6041, 11.1707, 35.7200)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EA2 #A2712D
analogous
#2D98A2 #2D5EA2 #362DA2
triadic
#2D5EA2 #A22D5E #5EA22D
tetradic
#2D5EA2 #A22D98 #A2712D #2DA236
square
#2D5EA2 #A22D98 #A2712D #2DA236
split-complementary
#2D5EA2 #A2362D #98A22D
monochromatic
#122642 #204272 #2D5EA2 #427BCA #729CD8

Accessibility & contrast

On white

6.49
#2D5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2D5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EA2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EA2#FFFFFF#000000##FFFFFF
##2D5EA21.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5ea2;
/* rgb */ color: rgb(45, 94, 162);
/* oklch */ color: oklch(48.4% 0.122 257.2);
Tailwind
colors: {
  custom: {
    50: '#758bbe',
    500: '#2d5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ea2;
$custom-light: #758bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ea2",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 214.872,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.12187,
    "h": 257.2
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#2D5EA2
secondary
#BF9C6C
accent
#A048E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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