#2D269D#2D269D

#2D269D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.183 H 275.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2D269D
RGBrgb(45, 38, 157)
HSLhsl(244, 61%, 38%)
HSVhsv(244, 76%, 62%)
CMYKcmyk(71.3%, 75.8%, 0%, 38.4%)
CIE-LABlab(24.88, 41.61, -62.93)
CIE-LCHlch(24.88, 75.44, 303.47°)
OKLaboklab(37.04% 0.017 -0.1819)
OKLCHoklch(37.04% 0.183 275.3)
XYZxyz(7.8591, 4.3777, 32.3226)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D269D #969D26
analogous
#265B9D #2D269D #68269D
triadic
#2D269D #9D2D26 #269D2D
tetradic
#2D269D #9D265B #969D26 #269D68
square
#2D269D #9D265B #969D26 #269D68
split-complementary
#2D269D #9D6826 #5B9D26
monochromatic
#110E3A #1F1A6C #2D269D #3C33CE #6B64D9

Accessibility & contrast

On white

11.20
#2D269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D269D
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D269D#FFFFFF#000000##FFFFFF
##2D269D1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d269d;
/* rgb */ color: rgb(45, 38, 157);
/* oklch */ color: oklch(37.0% 0.183 275.3);
Tailwind
colors: {
  custom: {
    50: '#7762bb',
    500: '#2d269d',
    950: '#000000',
  },
}
SCSS
$custom: #2d269d;
$custom-light: #7762bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d269d",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 243.529,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37038,
    "c": 0.18274,
    "h": 275.3
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#2D269D
secondary
#B9BF60
accent
#E444DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D269D

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

Preview Lab → · Contrast checker → · Palette generator →

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