#2D269A#2D269A

#2D269A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.179 H 275.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2D269A
RGBrgb(45, 38, 154)
HSLhsl(244, 60%, 38%)
HSVhsv(244, 75%, 60%)
CMYKcmyk(70.8%, 75.3%, 0%, 39.6%)
CIE-LABlab(24.57, 40.62, -61.62)
CIE-LCHlch(24.57, 73.80, 303.39°)
OKLaboklab(36.72% 0.0176 -0.1781)
OKLCHoklch(36.72% 0.179 275.6)
XYZxyz(7.6061, 4.2765, 30.9902)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D269A #939A26
analogous
#26599A #2D269A #67269A
triadic
#2D269A #9A2D26 #269A2D
tetradic
#2D269A #9A2659 #939A26 #269A67
square
#2D269A #9A2659 #939A26 #269A67
split-complementary
#2D269A #9A6726 #599A26
monochromatic
#100E38 #1F1A69 #2D269A #3B32CB #6962D8

Accessibility & contrast

On white

11.32
#2D269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D269A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D269A#FFFFFF#000000##FFFFFF
##2D269A1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d269a;
/* rgb */ color: rgb(45, 38, 154);
/* oklch */ color: oklch(36.7% 0.179 275.6);
Tailwind
colors: {
  custom: {
    50: '#7762b9',
    500: '#2d269a',
    950: '#000000',
  },
}
SCSS
$custom: #2d269a;
$custom-light: #7762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d269a",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 243.621,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36719,
    "c": 0.179,
    "h": 275.6
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D269A

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

Preview Lab → · Contrast checker → · Palette generator →

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