#2D246E#2D246E

#2D246E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.123 H 282.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#2D246E
RGBrgb(45, 36, 110)
HSLhsl(247, 51%, 29%)
HSVhsv(247, 67%, 43%)
CMYKcmyk(59.1%, 67.3%, 0%, 56.9%)
CIE-LABlab(19.82, 26.83, -41.71)
CIE-LCHlch(19.82, 49.60, 302.75°)
OKLaboklab(32.01% 0.0265 -0.1199)
OKLCHoklch(32.01% 0.123 282.5)
XYZxyz(4.5267, 2.9451, 15.0788)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D246E #656E24
analogous
#24406E #2D246E #52246E
triadic
#2D246E #6E2D24 #246E2D
tetradic
#2D246E #6E2440 #656E24 #246E52
square
#2D246E #6E2440 #656E24 #246E52
split-complementary
#2D246E #6E5224 #406E24
monochromatic
#090817 #1A1540 #2D246E #40339C #5849C3

Accessibility & contrast

On white

13.22
#2D246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D246E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D246E#FFFFFF#000000##FFFFFF
##2D246E1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#0C3645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d246e;
/* rgb */ color: rgb(45, 36, 110);
/* oklch */ color: oklch(32.0% 0.123 282.5);
Tailwind
colors: {
  custom: {
    50: '#6d5f98',
    500: '#2d246e',
    950: '#000000',
  },
}
SCSS
$custom: #2d246e;
$custom-light: #6d5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2d246e",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 247.297,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3201,
    "c": 0.12277,
    "h": 282.5
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#2D246E
secondary
#97A14D
accent
#DA4EC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2D246E

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

Preview Lab → · Contrast checker → · Palette generator →

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