#2D265D#2D265D

#2D265D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.095 H 285.2°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#2D265D
RGBrgb(45, 38, 93)
HSLhsl(248, 42%, 26%)
HSVhsv(248, 59%, 36%)
CMYKcmyk(51.6%, 59.1%, 0%, 63.5%)
CIE-LABlab(18.95, 19.59, -31.99)
CIE-LCHlch(18.95, 37.52, 301.48°)
OKLaboklab(30.93% 0.0249 -0.0913)
OKLCHoklch(30.93% 0.095 285.2)
XYZxyz(3.7505, 2.7343, 10.6839)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D265D #565D26
analogous
#263A5D #2D265D #48265D
triadic
#2D265D #5D2D26 #265D2D
tetradic
#2D265D #5D263A #565D26 #265D48
square
#2D265D #5D263A #565D26 #265D48
split-complementary
#2D265D #5D4826 #3A5D26
monochromatic
#0B0916 #181432 #2D265D #423888 #574AB4

Accessibility & contrast

On white

13.58
#2D265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D265D
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D265D#FFFFFF#000000##FFFFFF
##2D265D1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06305F
Deuteranopia (green-blind)
#052C5C
Tritanopia (blue-blind)
#1C323D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d265d;
/* rgb */ color: rgb(45, 38, 93);
/* oklch */ color: oklch(30.9% 0.095 285.2);
Tailwind
colors: {
  custom: {
    50: '#6a608b',
    500: '#2d265d',
    950: '#000000',
  },
}
SCSS
$custom: #2d265d;
$custom-light: #6a608b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d265d",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 247.636,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30927,
    "c": 0.09461,
    "h": 285.2
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#2D265D
secondary
#88904F
accent
#D256C2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2D265D

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

Preview Lab → · Contrast checker → · Palette generator →

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