#2D4293#2D4293

#2D4293 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.136 H 268.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2D4293
RGBrgb(45, 66, 147)
HSLhsl(228, 53%, 38%)
HSVhsv(228, 69%, 58%)
CMYKcmyk(69.4%, 55.1%, 0%, 42.4%)
CIE-LABlab(30.78, 20.13, -47.16)
CIE-LCHlch(30.78, 51.28, 293.11°)
OKLaboklab(41.08% -0.0029 -0.1356)
OKLCHoklch(41.08% 0.136 268.8)
XYZxyz(8.2951, 6.5601, 28.4272)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4293 #937E2D
analogous
#2D7593 #2D4293 #4B2D93
triadic
#2D4293 #932D42 #42932D
tetradic
#2D4293 #932D75 #937E2D #2D934B
square
#2D4293 #932D75 #937E2D #2D934B
split-complementary
#2D4293 #934B2D #75932D
monochromatic
#101835 #1F2D64 #2D4293 #3B57C2 #697FD1

Accessibility & contrast

On white

9.08
#2D4293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D4293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4293
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4293#FFFFFF#000000##FFFFFF
##2D42931.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054D96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4293;
/* rgb */ color: rgb(45, 66, 147);
/* oklch */ color: oklch(41.1% 0.136 268.8);
Tailwind
colors: {
  custom: {
    50: '#7376b3',
    500: '#2d4293',
    950: '#000000',
  },
}
SCSS
$custom: #2d4293;
$custom-light: #7376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4293",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 227.647,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.13565,
    "h": 268.8
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#2D4293
secondary
#B8A764
accent
#BF4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4293

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

Preview Lab → · Contrast checker → · Palette generator →

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