#2D5396#2D5396

#2D5396 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.118 H 260.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2D5396
RGBrgb(45, 83, 150)
HSLhsl(218, 54%, 38%)
HSVhsv(218, 70%, 59%)
CMYKcmyk(70%, 44.7%, 0%, 41.2%)
CIE-LABlab(35.88, 9.87, -40.79)
CIE-LCHlch(35.88, 41.97, 283.60°)
OKLaboklab(45.04% -0.0188 -0.1166)
OKLCHoklch(45.04% 0.118 260.8)
XYZxyz(9.6785, 8.9454, 30.0648)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5396 #96702D
analogous
#2D8796 #2D5396 #3C2D96
triadic
#2D5396 #962D53 #53962D
tetradic
#2D5396 #962D87 #96702D #2D963C
square
#2D5396 #962D87 #96702D #2D963C
split-complementary
#2D5396 #963C2D #87962D
monochromatic
#111F38 #1F3967 #2D5396 #3C6DC4 #6B90D3

Accessibility & contrast

On white

7.53
#2D5396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D5396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5396
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5396#FFFFFF#000000##FFFFFF
##2D53961.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5396;
/* rgb */ color: rgb(45, 83, 150);
/* oklch */ color: oklch(45.0% 0.118 260.8);
Tailwind
colors: {
  custom: {
    50: '#7382b5',
    500: '#2d5396',
    950: '#000000',
  },
}
SCSS
$custom: #2d5396;
$custom-light: #7382b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5396",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 218.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.11809,
    "h": 260.8
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5396

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

Preview Lab → · Contrast checker → · Palette generator →

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