#2D265E#2D265E

#2D265E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.096 H 285.0°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2D265E
RGBrgb(45, 38, 94)
HSLhsl(248, 42%, 26%)
HSVhsv(248, 60%, 37%)
CMYKcmyk(52.1%, 59.6%, 0%, 63.1%)
CIE-LABlab(19.02, 19.94, -32.53)
CIE-LCHlch(19.02, 38.16, 301.50°)
OKLaboklab(31.01% 0.0249 -0.0929)
OKLCHoklch(31.01% 0.096 285)
XYZxyz(3.7951, 2.7521, 10.9187)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D265E #575E26
analogous
#263B5E #2D265E #49265E
triadic
#2D265E #5E2D26 #265E2D
tetradic
#2D265E #5E263B #575E26 #265E49
square
#2D265E #5E263B #575E26 #265E49
split-complementary
#2D265E #5E4926 #3B5E26
monochromatic
#0A0916 #181432 #2D265E #42388A #5749B5

Accessibility & contrast

On white

13.54
#2D265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D265E
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D265E#FFFFFF#000000##FFFFFF
##2D265E1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053060
Deuteranopia (green-blind)
#032C5D
Tritanopia (blue-blind)
#1C333E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d265e;
/* rgb */ color: rgb(45, 38, 94);
/* oklch */ color: oklch(31.0% 0.096 285.0);
Tailwind
colors: {
  custom: {
    50: '#6a608c',
    500: '#2d265e',
    950: '#000000',
  },
}
SCSS
$custom: #2d265e;
$custom-light: #6a608c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d265e",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 247.5,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31007,
    "c": 0.09616,
    "h": 285
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#2D265E
secondary
#89914F
accent
#D256C3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2D265E

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

Preview Lab → · Contrast checker → · Palette generator →

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