#2D5293#2D5293

#2D5293 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.115 H 260.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2D5293
RGBrgb(45, 82, 147)
HSLhsl(218, 53%, 38%)
HSVhsv(218, 69%, 58%)
CMYKcmyk(69.4%, 44.2%, 0%, 42.4%)
CIE-LABlab(35.40, 9.39, -39.74)
CIE-LCHlch(35.40, 40.84, 283.30°)
OKLaboklab(44.6% -0.0184 -0.1135)
OKLCHoklch(44.6% 0.115 260.8)
XYZxyz(9.3641, 8.6981, 28.7835)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5293 #936E2D
analogous
#2D8593 #2D5293 #3B2D93
triadic
#2D5293 #932D52 #52932D
tetradic
#2D5293 #932D85 #936E2D #2D933B
square
#2D5293 #932D85 #936E2D #2D933B
split-complementary
#2D5293 #933B2D #85932D
monochromatic
#101E35 #1F3864 #2D5293 #3B6CC2 #698FD1

Accessibility & contrast

On white

7.66
#2D5293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2D5293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5293
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5293#FFFFFF#000000##FFFFFF
##2D52931.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335896
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5293;
/* rgb */ color: rgb(45, 82, 147);
/* oklch */ color: oklch(44.6% 0.115 260.8);
Tailwind
colors: {
  custom: {
    50: '#7282b3',
    500: '#2d5293',
    950: '#000000',
  },
}
SCSS
$custom: #2d5293;
$custom-light: #7282b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5293",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 218.235,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.11501,
    "h": 260.8
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#2D5293
secondary
#B89964
accent
#A84BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5293

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

Preview Lab → · Contrast checker → · Palette generator →

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