#2D5EAF#2D5EAF

#2D5EAF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.140 H 259.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2D5EAF
RGBrgb(45, 94, 175)
HSLhsl(217, 59%, 43%)
HSVhsv(217, 74%, 69%)
CMYKcmyk(74.3%, 46.3%, 0%, 31.4%)
CIE-LABlab(40.67, 12.17, -48.03)
CIE-LCHlch(40.67, 49.55, 284.22°)
OKLaboklab(49.23% -0.0245 -0.1377)
OKLCHoklch(49.23% 0.14 259.9)
XYZxyz(12.8200, 11.6570, 42.1235)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EAF #AF7E2D
analogous
#2D9FAF #2D5EAF #3D2DAF
triadic
#2D5EAF #AF2D5E #5EAF2D
tetradic
#2D5EAF #AF2D9F #AF7E2D #2DAF3D
square
#2D5EAF #AF2D9F #AF7E2D #2DAF3D
split-complementary
#2D5EAF #AF3D2D #9FAF2D
monochromatic
#142A4E #20447E #2D5EAF #497CD0 #7A9FDD

Accessibility & contrast

On white

6.30
#2D5EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2D5EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EAF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EAF#FFFFFF#000000##FFFFFF
##2D5EAF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#165AAD
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5eaf;
/* rgb */ color: rgb(45, 94, 175);
/* oklch */ color: oklch(49.2% 0.140 259.9);
Tailwind
colors: {
  custom: {
    50: '#788bc7',
    500: '#2d5eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2d5eaf;
$custom-light: #788bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5eaf",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 217.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.13985,
    "h": 259.9
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#2D5EAF
secondary
#C5A673
accent
#A746E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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