#2D5EA1#2D5EA1

#2D5EA1 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.3% C 0.120 H 256.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2D5EA1
RGBrgb(45, 94, 161)
HSLhsl(215, 56%, 40%)
HSVhsv(215, 72%, 63%)
CMYKcmyk(72%, 41.6%, 0%, 36.9%)
CIE-LABlab(39.81, 6.86, -41.11)
CIE-LCHlch(39.81, 41.68, 279.48°)
OKLaboklab(48.29% -0.0272 -0.1174)
OKLCHoklch(48.29% 0.12 256.9)
XYZxyz(11.5156, 11.1353, 35.2537)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EA1 #A1702D
analogous
#2D98A1 #2D5EA1 #362DA1
triadic
#2D5EA1 #A12D5E #5EA12D
tetradic
#2D5EA1 #A12D98 #A1702D #2DA136
square
#2D5EA1 #A12D98 #A1702D #2DA136
split-complementary
#2D5EA1 #A1362D #98A12D
monochromatic
#122641 #204271 #2D5EA1 #417BCA #719CD7

Accessibility & contrast

On white

6.51
#2D5EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D5EA1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EA1#FFFFFF#000000##FFFFFF
##2D5EA11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A4
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5ea1;
/* rgb */ color: rgb(45, 94, 161);
/* oklch */ color: oklch(48.3% 0.120 256.9);
Tailwind
colors: {
  custom: {
    50: '#758bbd',
    500: '#2d5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ea1;
$custom-light: #758bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ea1",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 214.655,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48291,
    "c": 0.12048,
    "h": 256.9
  },
  "luminance": 0.11137
}

Semantic roles & 50–950 ramp

primary
#2D5EA1
secondary
#BF9B6B
accent
#A048E0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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