#2D2597#2D2597

#2D2597 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.176 H 276.1°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2D2597
RGBrgb(45, 37, 151)
HSLhsl(244, 61%, 37%)
HSVhsv(244, 75%, 59%)
CMYKcmyk(70.2%, 75.5%, 0%, 40.8%)
CIE-LABlab(24.05, 40.19, -60.63)
CIE-LCHlch(24.05, 72.74, 303.54°)
OKLaboklab(36.26% 0.0188 -0.1752)
OKLCHoklch(36.26% 0.176 276.1)
XYZxyz(7.3278, 4.1147, 29.6802)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2597 #8F9725
analogous
#255697 #2D2597 #662597
triadic
#2D2597 #972D25 #25972D
tetradic
#2D2597 #972556 #8F9725 #259766
square
#2D2597 #972556 #8F9725 #259766
split-complementary
#2D2597 #976625 #569725
monochromatic
#100D35 #1E1966 #2D2597 #3C31C8 #675FD8

Accessibility & contrast

On white

11.52
#2D2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2597
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2597#FFFFFF#000000##FFFFFF
##2D25971.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2597;
/* rgb */ color: rgb(45, 37, 151);
/* oklch */ color: oklch(36.3% 0.176 276.1);
Tailwind
colors: {
  custom: {
    50: '#7661b7',
    500: '#2d2597',
    950: '#000000',
  },
}
SCSS
$custom: #2d2597;
$custom-light: #7661b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2597",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 244.211,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36258,
    "c": 0.17624,
    "h": 276.1
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#2D2597
secondary
#B6BD5B
accent
#E444D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2D2597

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

Preview Lab → · Contrast checker → · Palette generator →

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