#2D5EAB#2D5EAB

#2D5EAB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.134 H 259.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2D5EAB
RGBrgb(45, 94, 171)
HSLhsl(217, 58%, 42%)
HSVhsv(217, 74%, 67%)
CMYKcmyk(73.7%, 45%, 0%, 32.9%)
CIE-LABlab(40.41, 10.65, -46.08)
CIE-LCHlch(40.41, 47.29, 283.02°)
OKLaboklab(48.96% -0.0252 -0.1319)
OKLCHoklch(48.96% 0.134 259.2)
XYZxyz(12.4329, 11.5022, 40.0851)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EAB #AB7A2D
analogous
#2D9DAB #2D5EAB #3B2DAB
triadic
#2D5EAB #AB2D5E #5EAB2D
tetradic
#2D5EAB #AB2D9D #AB7A2D #2DAB3B
square
#2D5EAB #AB2D9D #AB7A2D #2DAB3B
split-complementary
#2D5EAB #AB3B2D #9DAB2D
monochromatic
#14294A #20437B #2D5EAB #477CCE #779EDB

Accessibility & contrast

On white

6.36
#2D5EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2D5EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EAB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EAB#FFFFFF#000000##FFFFFF
##2D5EAB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#1E5AA9
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5eab;
/* rgb */ color: rgb(45, 94, 171);
/* oklch */ color: oklch(49.0% 0.134 259.2);
Tailwind
colors: {
  custom: {
    50: '#778bc4',
    500: '#2d5eab',
    950: '#000000',
  },
}
SCSS
$custom: #2d5eab;
$custom-light: #778bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5eab",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 171
  },
  "hsl": {
    "h": 216.667,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.13432,
    "h": 259.2
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#2D5EAB
secondary
#C3A371
accent
#A546E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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