#2D3192#2D3192

#2D3192 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.156 H 274.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2D3192
RGBrgb(45, 49, 146)
HSLhsl(238, 53%, 37%)
HSVhsv(238, 69%, 57%)
CMYKcmyk(69.2%, 66.4%, 0%, 42.7%)
CIE-LABlab(26.24, 31.10, -53.94)
CIE-LCHlch(26.24, 62.27, 299.97°)
OKLaboklab(37.69% 0.0115 -0.1557)
OKLCHoklch(37.69% 0.156 274.2)
XYZxyz(7.3671, 4.8292, 27.7324)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3192 #928E2D
analogous
#2D6392 #2D3192 #5C2D92
triadic
#2D3192 #922D31 #31922D
tetradic
#2D3192 #922D63 #928E2D #2D925C
square
#2D3192 #922D63 #928E2D #2D925C
split-complementary
#2D3192 #925C2D #63922D
monochromatic
#101234 #1F2163 #2D3192 #3B41C1 #696DD1

Accessibility & contrast

On white

10.68
#2D3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3192
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3192#FFFFFF#000000##FFFFFF
##2D31921.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3192;
/* rgb */ color: rgb(45, 49, 146);
/* oklch */ color: oklch(37.7% 0.156 274.2);
Tailwind
colors: {
  custom: {
    50: '#7469b3',
    500: '#2d3192',
    950: '#000000',
  },
}
SCSS
$custom: #2d3192;
$custom-light: #7469b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3192",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 237.624,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37688,
    "c": 0.15613,
    "h": 274.2
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#2D3192
secondary
#B7B463
accent
#D74CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3192

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

Preview Lab → · Contrast checker → · Palette generator →

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