#2D3D92#2D3D92

#2D3D92 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.141 H 270.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2D3D92
RGBrgb(45, 61, 146)
HSLhsl(230, 53%, 37%)
HSVhsv(230, 69%, 57%)
CMYKcmyk(69.2%, 58.2%, 0%, 42.7%)
CIE-LABlab(29.34, 23.14, -48.90)
CIE-LCHlch(29.34, 54.10, 295.32°)
OKLaboklab(39.97% 0.0015 -0.1408)
OKLCHoklch(39.97% 0.141 270.6)
XYZxyz(7.9375, 5.9699, 27.9226)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D92 #92822D
analogous
#2D7092 #2D3D92 #4F2D92
triadic
#2D3D92 #922D3D #3D922D
tetradic
#2D3D92 #922D70 #92822D #2D924F
square
#2D3D92 #922D70 #92822D #2D924F
split-complementary
#2D3D92 #924F2D #70922D
monochromatic
#101634 #1F2963 #2D3D92 #3B51C1 #6979D1

Accessibility & contrast

On white

9.57
#2D3D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D3D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D92
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D92#FFFFFF#000000##FFFFFF
##2D3D921.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3d92;
/* rgb */ color: rgb(45, 61, 146);
/* oklch */ color: oklch(40.0% 0.141 270.6);
Tailwind
colors: {
  custom: {
    50: '#7372b3',
    500: '#2d3d92',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d92;
$custom-light: #7372b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d92",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 146
  },
  "hsl": {
    "h": 230.495,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39973,
    "c": 0.1408,
    "h": 270.6
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#2D3D92
secondary
#B7AA63
accent
#C54CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3D92

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

Preview Lab → · Contrast checker → · Palette generator →

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