#2D239A#2D239A

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

Color values

HEX#2D239A
RGBrgb(45, 35, 154)
HSLhsl(245, 63%, 37%)
HSVhsv(245, 77%, 60%)
CMYKcmyk(70.8%, 77.3%, 0%, 39.6%)
CIE-LABlab(23.97, 42.29, -62.59)
CIE-LCHlch(23.97, 75.54, 304.04°)
OKLaboklab(36.3% 0.0192 -0.1809)
OKLCHoklch(36.3% 0.182 276.1)
XYZxyz(7.5140, 4.0923, 30.9595)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D239A #909A23
analogous
#23559A #2D239A #69239A
triadic
#2D239A #9A2D23 #239A2D
tetradic
#2D239A #9A2355 #909A23 #239A69
square
#2D239A #9A2355 #909A23 #239A69
split-complementary
#2D239A #9A6923 #559A23
monochromatic
#100C36 #1E1868 #2D239A #3C2ECC #685DDA

Accessibility & contrast

On white

11.55
#2D239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D239A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D239A#FFFFFF#000000##FFFFFF
##2D239A1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d239a;
/* rgb */ color: rgb(45, 35, 154);
/* oklch */ color: oklch(36.3% 0.182 276.1);
Tailwind
colors: {
  custom: {
    50: '#7760b9',
    500: '#2d239a',
    950: '#000000',
  },
}
SCSS
$custom: #2d239a;
$custom-light: #7760b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d239a",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 245.042,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36302,
    "c": 0.18196,
    "h": 276.1
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#2D239A
secondary
#B6BF5A
accent
#E642D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D239A

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

Preview Lab → · Contrast checker → · Palette generator →

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