#2D266D#2D266D

#2D266D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.3% C 0.119 H 281.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2D266D
RGBrgb(45, 38, 109)
HSLhsl(246, 48%, 29%)
HSVhsv(246, 65%, 43%)
CMYKcmyk(58.7%, 65.1%, 0%, 57.3%)
CIE-LABlab(20.24, 25.16, -40.39)
CIE-LCHlch(20.24, 47.59, 301.92°)
OKLaboklab(32.28% 0.0245 -0.116)
OKLCHoklch(32.28% 0.119 281.9)
XYZxyz(4.5348, 3.0480, 14.8144)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D266D #666D26
analogous
#26436D #2D266D #51266D
triadic
#2D266D #6D2D26 #266D2D
tetradic
#2D266D #6D2643 #666D26 #266D51
square
#2D266D #6D2643 #666D26 #266D51
split-complementary
#2D266D #6D5126 #436D26
monochromatic
#090817 #1A1640 #2D266D #40369A #584DC1

Accessibility & contrast

On white

13.05
#2D266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D266D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D266D#FFFFFF#000000##FFFFFF
##2D266D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#0D3745
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d266d;
/* rgb */ color: rgb(45, 38, 109);
/* oklch */ color: oklch(32.3% 0.119 281.9);
Tailwind
colors: {
  custom: {
    50: '#6d6097',
    500: '#2d266d',
    950: '#000000',
  },
}
SCSS
$custom: #2d266d;
$custom-light: #6d6097;
$custom-dark: #000000;
JSON
{
  "hex": "#2d266d",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 245.915,
    "s": 48.299,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32284,
    "c": 0.11855,
    "h": 281.9
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#2D266D
secondary
#98A04F
accent
#D850CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2D266D

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

Preview Lab → · Contrast checker → · Palette generator →

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