#2D3283#2D3283

#2D3283 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.134 H 274.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2D3283
RGBrgb(45, 50, 131)
HSLhsl(237, 49%, 35%)
HSVhsv(237, 66%, 51%)
CMYKcmyk(65.6%, 61.8%, 0%, 48.6%)
CIE-LABlab(25.19, 25.00, -46.34)
CIE-LCHlch(25.19, 52.65, 298.35°)
OKLaboklab(36.51% 0.0115 -0.1334)
OKLCHoklch(36.51% 0.134 274.9)
XYZxyz(6.3182, 4.4773, 21.9996)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3283 #837E2D
analogous
#2D5D83 #2D3283 #532D83
triadic
#2D3283 #832D32 #32832D
tetradic
#2D3283 #832D5D #837E2D #2D8353
square
#2D3283 #832D5D #837E2D #2D8353
split-complementary
#2D3283 #83532D #5D832D
monochromatic
#0E0F28 #1D2155 #2D3283 #3D43B1 #6268C9

Accessibility & contrast

On white

11.08
#2D3283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D3283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3283
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3283#FFFFFF#000000##FFFFFF
##2D32831.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3283;
/* rgb */ color: rgb(45, 50, 131);
/* oklch */ color: oklch(36.5% 0.134 274.9);
Tailwind
colors: {
  custom: {
    50: '#706aa8',
    500: '#2d3283',
    950: '#000000',
  },
}
SCSS
$custom: #2d3283;
$custom-light: #706aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3283",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 236.512,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.13388,
    "h": 274.9
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#2D3283
secondary
#AFAB5C
accent
#D04FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3283

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

Preview Lab → · Contrast checker → · Palette generator →

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