#2D5296#2D5296

#2D5296 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.119 H 261.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2D5296
RGBrgb(45, 82, 150)
HSLhsl(219, 54%, 38%)
HSVhsv(219, 70%, 59%)
CMYKcmyk(70%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.58, 10.53, -41.26)
CIE-LCHlch(35.58, 42.58, 284.32°)
OKLaboklab(44.81% -0.0178 -0.118)
OKLCHoklch(44.81% 0.119 261.4)
XYZxyz(9.6025, 8.7935, 30.0395)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5296 #96712D
analogous
#2D8696 #2D5296 #3C2D96
triadic
#2D5296 #962D52 #52962D
tetradic
#2D5296 #962D86 #96712D #2D963C
square
#2D5296 #962D86 #96712D #2D963C
split-complementary
#2D5296 #963C2D #86962D
monochromatic
#111F38 #1F3867 #2D5296 #3C6CC4 #6B8FD3

Accessibility & contrast

On white

7.61
#2D5296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D5296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5296
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5296#FFFFFF#000000##FFFFFF
##2D52961.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5296;
/* rgb */ color: rgb(45, 82, 150);
/* oklch */ color: oklch(44.8% 0.119 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382b5',
    500: '#2d5296',
    950: '#000000',
  },
}
SCSS
$custom: #2d5296;
$custom-light: #7382b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5296",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 218.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.11933,
    "h": 261.4
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#2D5296
secondary
#B99C65
accent
#AA4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5296

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

Preview Lab → · Contrast checker → · Palette generator →

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