#2D5294#2D5294

#2D5294 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.116 H 261.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2D5294
RGBrgb(45, 82, 148)
HSLhsl(218, 53%, 38%)
HSVhsv(218, 70%, 58%)
CMYKcmyk(69.6%, 44.6%, 0%, 42%)
CIE-LABlab(35.46, 9.77, -40.25)
CIE-LCHlch(35.46, 41.42, 283.65°)
OKLaboklab(44.67% -0.0182 -0.115)
OKLCHoklch(44.67% 0.116 261)
XYZxyz(9.4429, 8.7296, 29.1986)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5294 #946F2D
analogous
#2D8594 #2D5294 #3C2D94
triadic
#2D5294 #942D52 #52942D
tetradic
#2D5294 #942D85 #946F2D #2D943C
square
#2D5294 #942D85 #946F2D #2D943C
split-complementary
#2D5294 #943C2D #85942D
monochromatic
#101E36 #1F3865 #2D5294 #3B6CC3 #6A8FD2

Accessibility & contrast

On white

7.65
#2D5294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2D5294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5294
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5294#FFFFFF#000000##FFFFFF
##2D52941.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325897
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5294;
/* rgb */ color: rgb(45, 82, 148);
/* oklch */ color: oklch(44.7% 0.116 261.0);
Tailwind
colors: {
  custom: {
    50: '#7282b4',
    500: '#2d5294',
    950: '#000000',
  },
}
SCSS
$custom: #2d5294;
$custom-light: #7282b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5294",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 218.447,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44671,
    "c": 0.11645,
    "h": 261
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5294

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

Preview Lab → · Contrast checker → · Palette generator →

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