#2D2E90#2D2E90

#2D2E90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.157 H 275.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2D2E90
RGBrgb(45, 46, 144)
HSLhsl(239, 52%, 37%)
HSVhsv(239, 69%, 56%)
CMYKcmyk(68.7%, 68.1%, 0%, 43.5%)
CIE-LABlab(25.34, 32.32, -54.20)
CIE-LCHlch(25.34, 63.10, 300.81°)
OKLaboklab(36.97% 0.0139 -0.1565)
OKLCHoklch(36.97% 0.157 275.1)
XYZxyz(7.0916, 4.5249, 26.8798)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E90 #908F2D
analogous
#2D6090 #2D2E90 #5E2D90
triadic
#2D2E90 #902D2E #2E902D
tetradic
#2D2E90 #902D60 #908F2D #2D905E
square
#2D2E90 #902D60 #908F2D #2D905E
split-complementary
#2D2E90 #905E2D #60902D
monochromatic
#101033 #1E1F61 #2D2E90 #3C3DBF #6869D0

Accessibility & contrast

On white

11.02
#2D2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E90
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E90#FFFFFF#000000##FFFFFF
##2D2E901.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2e90;
/* rgb */ color: rgb(45, 46, 144);
/* oklch */ color: oklch(37.0% 0.157 275.1);
Tailwind
colors: {
  custom: {
    50: '#7467b1',
    500: '#2d2e90',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e90;
$custom-light: #7467b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e90",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 239.394,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36971,
    "c": 0.15708,
    "h": 275.1
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#2D2E90
secondary
#B6B662
accent
#DA4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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