#2D5EA0#2D5EA0

#2D5EA0 is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.119 H 256.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2D5EA0
RGBrgb(45, 94, 160)
HSLhsl(214, 56%, 40%)
HSVhsv(214, 72%, 63%)
CMYKcmyk(71.9%, 41.3%, 0%, 37.3%)
CIE-LABlab(39.75, 6.48, -40.61)
CIE-LCHlch(39.75, 41.13, 279.07°)
OKLaboklab(48.23% -0.0275 -0.1159)
OKLCHoklch(48.23% 0.119 256.7)
XYZxyz(11.4277, 11.1001, 34.7912)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EA0 #A06F2D
analogous
#2D97A0 #2D5EA0 #352DA0
triadic
#2D5EA0 #A02D5E #5EA02D
tetradic
#2D5EA0 #A02D97 #A06F2D #2DA035
square
#2D5EA0 #A02D97 #A06F2D #2DA035
split-complementary
#2D5EA0 #A0352D #97A02D
monochromatic
#122640 #204270 #2D5EA0 #417BC9 #709CD7

Accessibility & contrast

On white

6.52
#2D5EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2D5EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EA0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EA0#FFFFFF#000000##FFFFFF
##2D5EA01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F63A3
Deuteranopia (green-blind)
#2D599F
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5ea0;
/* rgb */ color: rgb(45, 94, 160);
/* oklch */ color: oklch(48.2% 0.119 256.7);
Tailwind
colors: {
  custom: {
    50: '#748bbc',
    500: '#2d5ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ea0;
$custom-light: #748bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ea0",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 214.435,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.1191,
    "h": 256.7
  },
  "luminance": 0.11101
}

Semantic roles & 50–950 ramp

primary
#2D5EA0
secondary
#BE9B6B
accent
#9F48DF
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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