#2D246A#2D246A

#2D246A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.117 H 283.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#2D246A
RGBrgb(45, 36, 106)
HSLhsl(248, 49%, 28%)
HSVhsv(248, 66%, 42%)
CMYKcmyk(57.5%, 66%, 0%, 58.4%)
CIE-LABlab(19.47, 25.45, -39.68)
CIE-LCHlch(19.47, 47.14, 302.67°)
OKLaboklab(31.65% 0.0269 -0.1139)
OKLCHoklch(31.65% 0.117 283.3)
XYZxyz(4.3138, 2.8600, 13.9576)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D246A #616A24
analogous
#243E6A #2D246A #50246A
triadic
#2D246A #6A2D24 #246A2D
tetradic
#2D246A #6A243E #616A24 #246A50
square
#2D246A #6A243E #616A24 #246A50
split-complementary
#2D246A #6A5024 #3E6A24
monochromatic
#0A0817 #1A143C #2D246A #403498 #5748C1

Accessibility & contrast

On white

13.36
#2D246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D246A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D246A#FFFFFF#000000##FFFFFF
##2D246A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#123543
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d246a;
/* rgb */ color: rgb(45, 36, 106);
/* oklch */ color: oklch(31.6% 0.117 283.3);
Tailwind
colors: {
  custom: {
    50: '#6d5f95',
    500: '#2d246a',
    950: '#000000',
  },
}
SCSS
$custom: #2d246a;
$custom-light: #6d5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2d246a",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 247.714,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31647,
    "c": 0.11704,
    "h": 283.3
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#2D246A
secondary
#939D4D
accent
#D94FC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2D246A

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

Preview Lab → · Contrast checker → · Palette generator →

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