#2D269C#2D269C

#2D269C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.181 H 275.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2D269C
RGBrgb(45, 38, 156)
HSLhsl(244, 61%, 38%)
HSVhsv(244, 76%, 61%)
CMYKcmyk(71.2%, 75.6%, 0%, 38.8%)
CIE-LABlab(24.78, 41.28, -62.49)
CIE-LCHlch(24.78, 74.90, 303.45°)
OKLaboklab(36.93% 0.0172 -0.1807)
OKLCHoklch(36.93% 0.181 275.4)
XYZxyz(7.7741, 4.3437, 31.8748)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D269C #959C26
analogous
#265A9C #2D269C #68269C
triadic
#2D269C #9C2D26 #269C2D
tetradic
#2D269C #9C265A #959C26 #269C68
square
#2D269C #9C265A #959C26 #269C68
split-complementary
#2D269C #9C6826 #5A9C26
monochromatic
#110E3A #1F1A6B #2D269C #3B32CD #6A63D9

Accessibility & contrast

On white

11.24
#2D269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D269C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D269C#FFFFFF#000000##FFFFFF
##2D269C1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d269c;
/* rgb */ color: rgb(45, 38, 156);
/* oklch */ color: oklch(36.9% 0.181 275.4);
Tailwind
colors: {
  custom: {
    50: '#7762ba',
    500: '#2d269c',
    950: '#000000',
  },
}
SCSS
$custom: #2d269c;
$custom-light: #7762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d269c",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 243.559,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36932,
    "c": 0.18149,
    "h": 275.4
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#2D269C
secondary
#B9BF5F
accent
#E444DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D269C

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

Preview Lab → · Contrast checker → · Palette generator →

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