#2D4295#2D4295

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

Color values

HEX#2D4295
RGBrgb(45, 66, 149)
HSLhsl(228, 54%, 38%)
HSVhsv(228, 70%, 58%)
CMYKcmyk(69.8%, 55.7%, 0%, 41.6%)
CIE-LABlab(30.93, 20.89, -48.14)
CIE-LCHlch(30.93, 52.48, 293.45°)
OKLaboklab(41.24% -0.0028 -0.1385)
OKLCHoklch(41.24% 0.139 268.8)
XYZxyz(8.4534, 6.6234, 29.2609)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4295 #95802D
analogous
#2D7695 #2D4295 #4C2D95
triadic
#2D4295 #952D42 #42952D
tetradic
#2D4295 #952D76 #95802D #2D954C
square
#2D4295 #952D76 #95802D #2D954C
split-complementary
#2D4295 #954C2D #76952D
monochromatic
#111837 #1F2D66 #2D4295 #3B57C4 #6A7FD2

Accessibility & contrast

On white

9.03
#2D4295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D4295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4295
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4295#FFFFFF#000000##FFFFFF
##2D42951.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4295;
/* rgb */ color: rgb(45, 66, 149);
/* oklch */ color: oklch(41.2% 0.139 268.8);
Tailwind
colors: {
  custom: {
    50: '#7376b5',
    500: '#2d4295',
    950: '#000000',
  },
}
SCSS
$custom: #2d4295;
$custom-light: #7376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4295",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 227.885,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.13853,
    "h": 268.8
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4295

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

Preview Lab → · Contrast checker → · Palette generator →

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