#2D4192#2D4192

#2D4192 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.136 H 269.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2D4192
RGBrgb(45, 65, 146)
HSLhsl(228, 53%, 37%)
HSVhsv(228, 69%, 57%)
CMYKcmyk(69.2%, 55.5%, 0%, 42.7%)
CIE-LABlab(30.43, 20.43, -47.12)
CIE-LCHlch(30.43, 51.36, 293.44°)
OKLaboklab(40.79% -0.0021 -0.1355)
OKLCHoklch(40.79% 0.136 269.1)
XYZxyz(8.1590, 6.4130, 27.9964)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4192 #927E2D
analogous
#2D7392 #2D4192 #4C2D92
triadic
#2D4192 #922D41 #41922D
tetradic
#2D4192 #922D73 #927E2D #2D924C
square
#2D4192 #922D73 #927E2D #2D924C
split-complementary
#2D4192 #924C2D #73922D
monochromatic
#101734 #1F2C63 #2D4192 #3B56C1 #697DD1

Accessibility & contrast

On white

9.20
#2D4192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D4192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4192
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4192#FFFFFF#000000##FFFFFF
##2D41921.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4192;
/* rgb */ color: rgb(45, 65, 146);
/* oklch */ color: oklch(40.8% 0.136 269.1);
Tailwind
colors: {
  custom: {
    50: '#7375b3',
    500: '#2d4192',
    950: '#000000',
  },
}
SCSS
$custom: #2d4192;
$custom-light: #7375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4192",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 228.119,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40794,
    "c": 0.13553,
    "h": 269.1
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#2D4192
secondary
#B7A763
accent
#C04CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4192

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

Preview Lab → · Contrast checker → · Palette generator →

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