#2D2E8F#2D2E8F

#2D2E8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.156 H 275.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2D2E8F
RGBrgb(45, 46, 143)
HSLhsl(239, 52%, 37%)
HSVhsv(239, 69%, 56%)
CMYKcmyk(68.5%, 67.8%, 0%, 43.9%)
CIE-LABlab(25.24, 31.97, -53.73)
CIE-LCHlch(25.24, 62.52, 300.75°)
OKLaboklab(36.88% 0.0141 -0.1551)
OKLCHoklch(36.88% 0.156 275.2)
XYZxyz(7.0155, 4.4944, 26.4791)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E8F #8F8E2D
analogous
#2D5F8F #2D2E8F #5D2D8F
triadic
#2D2E8F #8F2D2E #2E8F2D
tetradic
#2D2E8F #8F2D5F #8F8E2D #2D8F5D
square
#2D2E8F #8F2D5F #8F8E2D #2D8F5D
split-complementary
#2D2E8F #8F5D2D #5F8F2D
monochromatic
#101032 #1E1F60 #2D2E8F #3C3DBE #6768CF

Accessibility & contrast

On white

11.06
#2D2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2E8F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E8F#FFFFFF#000000##FFFFFF
##2D2E8F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2e8f;
/* rgb */ color: rgb(45, 46, 143);
/* oklch */ color: oklch(36.9% 0.156 275.2);
Tailwind
colors: {
  custom: {
    50: '#7367b1',
    500: '#2d2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e8f;
$custom-light: #7367b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e8f",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 239.388,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36876,
    "c": 0.15573,
    "h": 275.2
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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