#2D266E#2D266E

#2D266E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.120 H 281.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2D266E
RGBrgb(45, 38, 110)
HSLhsl(246, 49%, 29%)
HSVhsv(246, 65%, 43%)
CMYKcmyk(59.1%, 65.5%, 0%, 56.9%)
CIE-LABlab(20.32, 25.51, -40.90)
CIE-LCHlch(20.32, 48.20, 301.95°)
OKLaboklab(32.37% 0.0244 -0.1175)
OKLCHoklch(32.37% 0.12 281.7)
XYZxyz(4.5889, 3.0696, 15.0995)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D266E #676E26
analogous
#26436E #2D266E #51266E
triadic
#2D266E #6E2D26 #266E2D
tetradic
#2D266E #6E2643 #676E26 #266E51
square
#2D266E #6E2643 #676E26 #266E51
split-complementary
#2D266E #6E5126 #436E26
monochromatic
#090817 #1A1641 #2D266E #40369B #584DC1

Accessibility & contrast

On white

13.01
#2D266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D266E
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D266E#FFFFFF#000000##FFFFFF
##2D266E1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#0C3846
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d266e;
/* rgb */ color: rgb(45, 38, 110);
/* oklch */ color: oklch(32.4% 0.120 281.7);
Tailwind
colors: {
  custom: {
    50: '#6d6198',
    500: '#2d266e',
    950: '#000000',
  },
}
SCSS
$custom: #2d266e;
$custom-light: #6d6198;
$custom-dark: #000000;
JSON
{
  "hex": "#2d266e",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 245.833,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32373,
    "c": 0.11999,
    "h": 281.7
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#2D266E
secondary
#99A14F
accent
#D850CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2D266E

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

Preview Lab → · Contrast checker → · Palette generator →

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