#2D265F#2D265F

#2D265F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.098 H 284.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#2D265F
RGBrgb(45, 38, 95)
HSLhsl(247, 43%, 26%)
HSVhsv(247, 60%, 37%)
CMYKcmyk(52.6%, 60%, 0%, 62.7%)
CIE-LABlab(19.10, 20.28, -33.07)
CIE-LCHlch(19.10, 38.80, 301.52°)
OKLaboklab(31.09% 0.0249 -0.0945)
OKLCHoklch(31.09% 0.098 284.8)
XYZxyz(3.8402, 2.7702, 11.1566)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D265F #585F26
analogous
#263B5F #2D265F #49265F
triadic
#2D265F #5F2D26 #265F2D
tetradic
#2D265F #5F263B #585F26 #265F49
square
#2D265F #5F263B #585F26 #265F49
split-complementary
#2D265F #5F4926 #3B5F26
monochromatic
#0A0916 #181533 #2D265F #42378B #5749B6

Accessibility & contrast

On white

13.51
#2D265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D265F
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D265F#FFFFFF#000000##FFFFFF
##2D265F1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#012D5E
Tritanopia (blue-blind)
#1B333E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d265f;
/* rgb */ color: rgb(45, 38, 95);
/* oklch */ color: oklch(31.1% 0.098 284.8);
Tailwind
colors: {
  custom: {
    50: '#6a608d',
    500: '#2d265f',
    950: '#000000',
  },
}
SCSS
$custom: #2d265f;
$custom-light: #6a608d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d265f",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 247.368,
    "s": 42.857,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31088,
    "c": 0.09769,
    "h": 284.8
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#2D265F
secondary
#8A924F
accent
#D355C3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2D265F

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

Preview Lab → · Contrast checker → · Palette generator →

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