#2D269B#2D269B

#2D269B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.180 H 275.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2D269B
RGBrgb(45, 38, 155)
HSLhsl(244, 61%, 38%)
HSVhsv(244, 75%, 61%)
CMYKcmyk(71%, 75.5%, 0%, 39.2%)
CIE-LABlab(24.67, 40.95, -62.06)
CIE-LCHlch(24.67, 74.35, 303.42°)
OKLaboklab(36.83% 0.0174 -0.1794)
OKLCHoklch(36.83% 0.18 275.5)
XYZxyz(7.6897, 4.3100, 31.4306)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D269B #949B26
analogous
#26599B #2D269B #68269B
triadic
#2D269B #9B2D26 #269B2D
tetradic
#2D269B #9B2659 #949B26 #269B68
square
#2D269B #9B2659 #949B26 #269B68
split-complementary
#2D269B #9B6826 #599B26
monochromatic
#100E39 #1F1A6A #2D269B #3B32CC #6A63D9

Accessibility & contrast

On white

11.28
#2D269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D269B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D269B#FFFFFF#000000##FFFFFF
##2D269B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d269b;
/* rgb */ color: rgb(45, 38, 155);
/* oklch */ color: oklch(36.8% 0.180 275.5);
Tailwind
colors: {
  custom: {
    50: '#7762ba',
    500: '#2d269b',
    950: '#000000',
  },
}
SCSS
$custom: #2d269b;
$custom-light: #7762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d269b",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 243.59,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36825,
    "c": 0.18024,
    "h": 275.5
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D269B

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

Preview Lab → · Contrast checker → · Palette generator →

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