#2D2E94#2D2E94

#2D2E94 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.162 H 274.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2D2E94
RGBrgb(45, 46, 148)
HSLhsl(239, 53%, 38%)
HSVhsv(239, 70%, 58%)
CMYKcmyk(69.6%, 68.9%, 0%, 42%)
CIE-LABlab(25.71, 33.74, -56.05)
CIE-LCHlch(25.71, 65.42, 301.05°)
OKLaboklab(37.36% 0.0135 -0.1619)
OKLCHoklch(37.36% 0.162 274.8)
XYZxyz(7.4027, 4.6493, 28.5185)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E94 #94932D
analogous
#2D6294 #2D2E94 #5F2D94
triadic
#2D2E94 #942D2E #2E942D
tetradic
#2D2E94 #942D62 #94932D #2D945F
square
#2D2E94 #942D62 #94932D #2D945F
split-complementary
#2D2E94 #945F2D #62942D
monochromatic
#101136 #1F1F65 #2D2E94 #3B3DC3 #6A6BD2

Accessibility & contrast

On white

10.88
#2D2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D2E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E94
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E94#FFFFFF#000000##FFFFFF
##2D2E941.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2e94;
/* rgb */ color: rgb(45, 46, 148);
/* oklch */ color: oklch(37.4% 0.162 274.8);
Tailwind
colors: {
  custom: {
    50: '#7567b4',
    500: '#2d2e94',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e94;
$custom-light: #7567b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e94",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 239.417,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37359,
    "c": 0.16244,
    "h": 274.8
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#2D2E94
secondary
#B8B864
accent
#DB4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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