#2D2E7F#2D2E7F

#2D2E7F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.134 H 276.6°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2D2E7F
RGBrgb(45, 46, 127)
HSLhsl(239, 48%, 34%)
HSVhsv(239, 65%, 50%)
CMYKcmyk(64.6%, 63.8%, 0%, 50.2%)
CIE-LABlab(23.82, 26.23, -46.07)
CIE-LCHlch(23.82, 53.01, 299.66°)
OKLaboklab(35.39% 0.0154 -0.1326)
OKLCHoklch(35.39% 0.134 276.6)
XYZxyz(5.8887, 4.0437, 20.5448)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E7F #7F7E2D
analogous
#2D577F #2D2E7F #552D7F
triadic
#2D2E7F #7F2D2E #2E7F2D
tetradic
#2D2E7F #7F2D57 #7F7E2D #2D7F55
square
#2D2E7F #7F2D57 #7F7E2D #2D7F55
split-complementary
#2D2E7F #7F552D #577F2D
monochromatic
#0D0D25 #1D1E52 #2D2E7F #3D3EAC #6061C7

Accessibility & contrast

On white

11.61
#2D2E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D2E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E7F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E7F#FFFFFF#000000##FFFFFF
##2D2E7F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2e7f;
/* rgb */ color: rgb(45, 46, 127);
/* oklch */ color: oklch(35.4% 0.134 276.6);
Tailwind
colors: {
  custom: {
    50: '#7067a5',
    500: '#2d2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e7f;
$custom-light: #7067a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e7f",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 239.268,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35391,
    "c": 0.1335,
    "h": 276.6
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#2D2E7F
secondary
#ADAC5B
accent
#D651D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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