#2D3E94#2D3E94

#2D3E94 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.142 H 270.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2D3E94
RGBrgb(45, 62, 148)
HSLhsl(230, 53%, 38%)
HSVhsv(230, 70%, 58%)
CMYKcmyk(69.6%, 58.1%, 0%, 42%)
CIE-LABlab(29.76, 23.21, -49.43)
CIE-LCHlch(29.76, 54.61, 295.15°)
OKLaboklab(40.34% 0.0007 -0.1423)
OKLCHoklch(40.34% 0.142 270.3)
XYZxyz(8.1483, 6.1405, 28.7670)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E94 #94832D
analogous
#2D7194 #2D3E94 #4F2D94
triadic
#2D3E94 #942D3E #3E942D
tetradic
#2D3E94 #942D71 #94832D #2D944F
square
#2D3E94 #942D71 #94832D #2D944F
split-complementary
#2D3E94 #944F2D #71942D
monochromatic
#101736 #1F2A65 #2D3E94 #3B52C3 #6A7BD2

Accessibility & contrast

On white

9.42
#2D3E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D3E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E94
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E94#FFFFFF#000000##FFFFFF
##2D3E941.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3e94;
/* rgb */ color: rgb(45, 62, 148);
/* oklch */ color: oklch(40.3% 0.142 270.3);
Tailwind
colors: {
  custom: {
    50: '#7373b4',
    500: '#2d3e94',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e94;
$custom-light: #7373b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e94",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 148
  },
  "hsl": {
    "h": 230.097,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.14234,
    "h": 270.3
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#2D3E94
secondary
#B8AB64
accent
#C54BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3E94

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

Preview Lab → · Contrast checker → · Palette generator →

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