#2D264B#2D264B

#2D264B is a dark, moderate violet. Relative luminance 0.025; OKLCH L 29.6% C 0.066 H 290.5°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#2D264B
RGBrgb(45, 38, 75)
HSLhsl(251, 33%, 22%)
HSVhsv(251, 49%, 29%)
CMYKcmyk(40%, 49.3%, 0%, 70.6%)
CIE-LABlab(17.70, 13.54, -21.89)
CIE-LCHlch(17.70, 25.74, 301.74°)
OKLaboklab(29.59% 0.0231 -0.0617)
OKLCHoklch(29.59% 0.066 290.5)
XYZxyz(3.0450, 2.4520, 6.9681)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D264B #444B26
analogous
#26324B #2D264B #40264B
triadic
#2D264B #4B2D26 #264B2D
tetradic
#2D264B #4B2632 #444B26 #264B40
square
#2D264B #4B2632 #444B26 #264B40
split-complementary
#2D264B #4B4026 #324B26
monochromatic
#0C0A14 #151122 #2D264B #453B74 #5E4F9C

Accessibility & contrast

On white

14.09
#2D264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2D264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D264B
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D264B#FFFFFF#000000##FFFFFF
##2D264B1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4C
Deuteranopia (green-blind)
#1A2B4A
Tritanopia (blue-blind)
#252D34
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d264b;
/* rgb */ color: rgb(45, 38, 75);
/* oklch */ color: oklch(29.6% 0.066 290.5);
Tailwind
colors: {
  custom: {
    50: '#67607d',
    500: '#2d264b',
    950: '#000000',
  },
}
SCSS
$custom: #2d264b;
$custom-light: #67607d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d264b",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 251.351,
    "s": 32.743,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29592,
    "c": 0.06583,
    "h": 290.5
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#2D264B
secondary
#757E4F
accent
#C95FB5
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2D264B

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

Preview Lab → · Contrast checker → · Palette generator →

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