#2D2E9F#2D2E9F

#2D2E9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.177 H 273.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2D2E9F
RGBrgb(45, 46, 159)
HSLhsl(239, 56%, 40%)
HSVhsv(239, 72%, 62%)
CMYKcmyk(71.7%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.78, 37.59, -61.03)
CIE-LCHlch(26.78, 71.68, 301.63°)
OKLaboklab(38.45% 0.012 -0.1764)
OKLCHoklch(38.45% 0.177 273.9)
XYZxyz(8.3151, 5.0143, 33.3238)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E9F #9F9E2D
analogous
#2D679F #2D2E9F #652D9F
triadic
#2D2E9F #9F2D2E #2E9F2D
tetradic
#2D2E9F #9F2D67 #9F9E2D #2D9F65
square
#2D2E9F #9F2D67 #9F9E2D #2D9F65
split-complementary
#2D2E9F #9F652D #679F2D
monochromatic
#121240 #20206F #2D2E9F #4041C9 #7071D6

Accessibility & contrast

On white

10.48
#2D2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E9F
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E9F#FFFFFF#000000##FFFFFF
##2D2E9F1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d2e9f;
/* rgb */ color: rgb(45, 46, 159);
/* oklch */ color: oklch(38.4% 0.177 273.9);
Tailwind
colors: {
  custom: {
    50: '#7768bc',
    500: '#2d2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e9f;
$custom-light: #7768bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e9f",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 239.474,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.38449,
    "c": 0.17686,
    "h": 273.9
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#2D2E9F
secondary
#BEBD6A
accent
#DE49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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