#2D5096#2D5096

#2D5096 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.122 H 262.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2D5096
RGBrgb(45, 80, 150)
HSLhsl(220, 54%, 38%)
HSVhsv(220, 70%, 59%)
CMYKcmyk(70%, 46.7%, 0%, 41.2%)
CIE-LABlab(35.00, 11.86, -42.20)
CIE-LCHlch(35.00, 43.84, 285.69°)
OKLaboklab(44.36% -0.0158 -0.1208)
OKLCHoklch(44.36% 0.122 262.5)
XYZxyz(9.4539, 8.4963, 29.9900)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5096 #96732D
analogous
#2D8496 #2D5096 #3E2D96
triadic
#2D5096 #962D50 #50962D
tetradic
#2D5096 #962D84 #96732D #2D963E
square
#2D5096 #962D84 #96732D #2D963E
split-complementary
#2D5096 #963E2D #84962D
monochromatic
#111E38 #1F3767 #2D5096 #3C69C4 #6B8DD3

Accessibility & contrast

On white

7.78
#2D5096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2D5096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5096
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5096#FFFFFF#000000##FFFFFF
##2D50961.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5799
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5096;
/* rgb */ color: rgb(45, 80, 150);
/* oklch */ color: oklch(44.4% 0.122 262.5);
Tailwind
colors: {
  custom: {
    50: '#7380b5',
    500: '#2d5096',
    950: '#000000',
  },
}
SCSS
$custom: #2d5096;
$custom-light: #7380b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5096",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 150
  },
  "hsl": {
    "h": 220,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44355,
    "c": 0.12182,
    "h": 262.5
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#2D5096
secondary
#B99D65
accent
#AC4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5096

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

Preview Lab → · Contrast checker → · Palette generator →

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