#2D559D#2D559D

#2D559D is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.126 H 261.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2D559D
RGBrgb(45, 85, 157)
HSLhsl(219, 55%, 40%)
HSVhsv(219, 71%, 62%)
CMYKcmyk(71.3%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.91, 11.21, -43.36)
CIE-LCHlch(36.91, 44.78, 284.49°)
OKLaboklab(45.97% -0.0194 -0.1241)
OKLCHoklch(45.97% 0.126 261.1)
XYZxyz(10.4143, 9.4881, 33.1743)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D559D #9D752D
analogous
#2D8D9D #2D559D #3D2D9D
triadic
#2D559D #9D2D55 #559D2D
tetradic
#2D559D #9D2D8D #9D752D #2D9D3D
square
#2D559D #9D2D8D #9D752D #2D9D3D
split-complementary
#2D559D #9D3D2D #8D9D2D
monochromatic
#12213E #1F3B6D #2D559D #3F70C8 #6F94D6

Accessibility & contrast

On white

7.25
#2D559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D559D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D559D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D559D#FFFFFF#000000##FFFFFF
##2D559D1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#1B529C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d559d;
/* rgb */ color: rgb(45, 85, 157);
/* oklch */ color: oklch(46.0% 0.126 261.1);
Tailwind
colors: {
  custom: {
    50: '#7484ba',
    500: '#2d559d',
    950: '#000000',
  },
}
SCSS
$custom: #2d559d;
$custom-light: #7484ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d559d",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 218.571,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4597,
    "c": 0.12562,
    "h": 261.1
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#2D559D
secondary
#BD9F69
accent
#A949DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D559D

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

Preview Lab → · Contrast checker → · Palette generator →

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