#2D5AAF#2D5AAF

#2D5AAF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.145 H 261.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2D5AAF
RGBrgb(45, 90, 175)
HSLhsl(219, 59%, 43%)
HSVhsv(219, 74%, 69%)
CMYKcmyk(74.3%, 48.6%, 0%, 31.4%)
CIE-LABlab(39.52, 14.78, -49.87)
CIE-LCHlch(39.52, 52.02, 286.51°)
OKLaboklab(48.35% -0.021 -0.1432)
OKLCHoklch(48.35% 0.145 261.7)
XYZxyz(12.4734, 10.9640, 42.0080)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5AAF #AF822D
analogous
#2D9BAF #2D5AAF #412DAF
triadic
#2D5AAF #AF2D5A #5AAF2D
tetradic
#2D5AAF #AF2D9B #AF822D #2DAF41
square
#2D5AAF #AF2D9B #AF822D #2DAF41
split-complementary
#2D5AAF #AF412D #9BAF2D
monochromatic
#14284E #20417E #2D5AAF #4978D0 #7A9CDD

Accessibility & contrast

On white

6.58
#2D5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5AAF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5AAF#FFFFFF#000000##FFFFFF
##2D5AAF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5aaf;
/* rgb */ color: rgb(45, 90, 175);
/* oklch */ color: oklch(48.4% 0.145 261.7);
Tailwind
colors: {
  custom: {
    50: '#7888c7',
    500: '#2d5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2d5aaf;
$custom-light: #7888c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5aaf",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 219.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.14471,
    "h": 261.7
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#2D5AAF
secondary
#C5A973
accent
#AC46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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