#2D268D#2D268D

#2D268D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.162 H 277.1°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2D268D
RGBrgb(45, 38, 141)
HSLhsl(244, 58%, 35%)
HSVhsv(244, 73%, 55%)
CMYKcmyk(68.1%, 73%, 0%, 44.7%)
CIE-LABlab(23.23, 36.25, -55.80)
CIE-LCHlch(23.23, 66.54, 303.01°)
OKLaboklab(35.36% 0.0201 -0.1611)
OKLCHoklch(35.36% 0.162 277.1)
XYZxyz(6.5815, 3.8666, 25.5936)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D268D #868D26
analogous
#26528D #2D268D #61268D
triadic
#2D268D #8D2D26 #268D2D
tetradic
#2D268D #8D2652 #868D26 #268D61
square
#2D268D #8D2652 #868D26 #268D61
split-complementary
#2D268D #8D6126 #528D26
monochromatic
#0E0C2D #1E195D #2D268D #3C33BD #635BD3

Accessibility & contrast

On white

11.84
#2D268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D268D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D268D#FFFFFF#000000##FFFFFF
##2D268D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d268d;
/* rgb */ color: rgb(45, 38, 141);
/* oklch */ color: oklch(35.4% 0.162 277.1);
Tailwind
colors: {
  custom: {
    50: '#7462af',
    500: '#2d268d',
    950: '#000000',
  },
}
SCSS
$custom: #2d268d;
$custom-light: #7462af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d268d",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 244.078,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35364,
    "c": 0.1624,
    "h": 277.1
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#2D268D
secondary
#B1B857
accent
#E147D6
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #2D268D

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

Preview Lab → · Contrast checker → · Palette generator →

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