#2D5193#2D5193

#2D5193 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.116 H 261.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2D5193
RGBrgb(45, 81, 147)
HSLhsl(219, 53%, 38%)
HSVhsv(219, 69%, 58%)
CMYKcmyk(69.4%, 44.9%, 0%, 42.4%)
CIE-LABlab(35.10, 10.05, -40.22)
CIE-LCHlch(35.10, 41.46, 284.04°)
OKLaboklab(44.37% -0.0174 -0.1149)
OKLCHoklch(44.37% 0.116 261.4)
XYZxyz(9.2892, 8.5484, 28.7586)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5193 #936F2D
analogous
#2D8493 #2D5193 #3C2D93
triadic
#2D5193 #932D51 #51932D
tetradic
#2D5193 #932D84 #936F2D #2D933C
square
#2D5193 #932D84 #936F2D #2D933C
split-complementary
#2D5193 #933C2D #84932D
monochromatic
#101D35 #1F3764 #2D5193 #3B6BC2 #698ED1

Accessibility & contrast

On white

7.75
#2D5193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2D5193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5193
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5193#FFFFFF#000000##FFFFFF
##2D51931.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315896
Deuteranopia (green-blind)
#1F4E92
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5193;
/* rgb */ color: rgb(45, 81, 147);
/* oklch */ color: oklch(44.4% 0.116 261.4);
Tailwind
colors: {
  custom: {
    50: '#7281b3',
    500: '#2d5193',
    950: '#000000',
  },
}
SCSS
$custom: #2d5193;
$custom-light: #7281b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5193",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 147
  },
  "hsl": {
    "h": 218.824,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44374,
    "c": 0.11625,
    "h": 261.4
  },
  "luminance": 0.08549
}

Semantic roles & 50–950 ramp

primary
#2D5193
secondary
#B89A64
accent
#A94BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5193

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

Preview Lab → · Contrast checker → · Palette generator →

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