#2D5196#2D5196

#2D5196 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.121 H 262.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2D5196
RGBrgb(45, 81, 150)
HSLhsl(219, 54%, 38%)
HSVhsv(219, 70%, 59%)
CMYKcmyk(70%, 46%, 0%, 41.2%)
CIE-LABlab(35.29, 11.19, -41.73)
CIE-LCHlch(35.29, 43.21, 285.01°)
OKLaboklab(44.58% -0.0168 -0.1194)
OKLCHoklch(44.58% 0.121 262)
XYZxyz(9.5277, 8.6438, 30.0145)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5196 #96722D
analogous
#2D8596 #2D5196 #3E2D96
triadic
#2D5196 #962D51 #51962D
tetradic
#2D5196 #962D85 #96722D #2D963E
square
#2D5196 #962D85 #96722D #2D963E
split-complementary
#2D5196 #963E2D #85962D
monochromatic
#111E38 #1F3867 #2D5196 #3C6BC4 #6B8ED3

Accessibility & contrast

On white

7.70
#2D5196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D5196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5196
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5196#FFFFFF#000000##FFFFFF
##2D51961.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#1B4E95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5196;
/* rgb */ color: rgb(45, 81, 150);
/* oklch */ color: oklch(44.6% 0.121 262.0);
Tailwind
colors: {
  custom: {
    50: '#7381b5',
    500: '#2d5196',
    950: '#000000',
  },
}
SCSS
$custom: #2d5196;
$custom-light: #7381b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5196",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 219.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44581,
    "c": 0.12057,
    "h": 262
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5196

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

Preview Lab → · Contrast checker → · Palette generator →

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