#2D5DAF#2D5DAF

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

Color values

HEX#2D5DAF
RGBrgb(45, 93, 175)
HSLhsl(218, 59%, 43%)
HSVhsv(218, 74%, 69%)
CMYKcmyk(74.3%, 46.9%, 0%, 31.4%)
CIE-LABlab(40.38, 12.82, -48.49)
CIE-LCHlch(40.38, 50.16, 284.81°)
OKLaboklab(49.01% -0.0236 -0.1391)
OKLCHoklch(49.01% 0.141 260.4)
XYZxyz(12.7316, 11.4803, 42.0941)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DAF #AF7F2D
analogous
#2D9EAF #2D5DAF #3E2DAF
triadic
#2D5DAF #AF2D5D #5DAF2D
tetradic
#2D5DAF #AF2D9E #AF7F2D #2DAF3E
square
#2D5DAF #AF2D9E #AF7F2D #2DAF3E
split-complementary
#2D5DAF #AF3E2D #9EAF2D
monochromatic
#14294E #20437E #2D5DAF #497BD0 #7A9EDD

Accessibility & contrast

On white

6.37
#2D5DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D5DAF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DAF#FFFFFF#000000##FFFFFF
##2D5DAF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#125AAD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5daf;
/* rgb */ color: rgb(45, 93, 175);
/* oklch */ color: oklch(49.0% 0.141 260.4);
Tailwind
colors: {
  custom: {
    50: '#788ac7',
    500: '#2d5daf',
    950: '#000000',
  },
}
SCSS
$custom: #2d5daf;
$custom-light: #788ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5daf",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 217.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.14106,
    "h": 260.4
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#2D5DAF
secondary
#C5A773
accent
#A846E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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