#2D269E#2D269E

#2D269E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.184 H 275.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2D269E
RGBrgb(45, 38, 158)
HSLhsl(244, 61%, 38%)
HSVhsv(244, 76%, 62%)
CMYKcmyk(71.5%, 75.9%, 0%, 38%)
CIE-LABlab(24.99, 41.94, -63.36)
CIE-LCHlch(24.99, 75.99, 303.50°)
OKLaboklab(37.15% 0.0167 -0.1832)
OKLCHoklch(37.15% 0.184 275.2)
XYZxyz(7.9448, 4.4120, 32.7740)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D269E #979E26
analogous
#265B9E #2D269E #69269E
triadic
#2D269E #9E2D26 #269E2D
tetradic
#2D269E #9E265B #979E26 #269E69
square
#2D269E #9E265B #979E26 #269E69
split-complementary
#2D269E #9E6926 #5B9E26
monochromatic
#110E3B #1F1A6D #2D269E #3C33CE #6B65DA

Accessibility & contrast

On white

11.15
#2D269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D269E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D269E#FFFFFF#000000##FFFFFF
##2D269E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d269e;
/* rgb */ color: rgb(45, 38, 158);
/* oklch */ color: oklch(37.1% 0.184 275.2);
Tailwind
colors: {
  custom: {
    50: '#7862bc',
    500: '#2d269e',
    950: '#000000',
  },
}
SCSS
$custom: #2d269e;
$custom-light: #7862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d269e",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 243.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37145,
    "c": 0.18397,
    "h": 275.2
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#2D269E
secondary
#BAC060
accent
#E443DB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D269E

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

Preview Lab → · Contrast checker → · Palette generator →

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