#2D246F#2D246F

#2D246F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.124 H 282.3°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#2D246F
RGBrgb(45, 36, 111)
HSLhsl(247, 51%, 29%)
HSVhsv(247, 68%, 44%)
CMYKcmyk(59.5%, 67.6%, 0%, 56.5%)
CIE-LABlab(19.91, 27.18, -42.21)
CIE-LCHlch(19.91, 50.20, 302.77°)
OKLaboklab(32.1% 0.0264 -0.1213)
OKLCHoklch(32.1% 0.124 282.3)
XYZxyz(4.5814, 2.9670, 15.3671)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D246F #666F24
analogous
#24416F #2D246F #53246F
triadic
#2D246F #6F2D24 #246F2D
tetradic
#2D246F #6F2441 #666F24 #246F53
square
#2D246F #6F2441 #666F24 #246F53
split-complementary
#2D246F #6F5324 #416F24
monochromatic
#090717 #1A1541 #2D246F #40339D #5849C4

Accessibility & contrast

On white

13.18
#2D246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D246F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D246F#FFFFFF#000000##FFFFFF
##2D246F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#0A3746
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d246f;
/* rgb */ color: rgb(45, 36, 111);
/* oklch */ color: oklch(32.1% 0.124 282.3);
Tailwind
colors: {
  custom: {
    50: '#6e5f99',
    500: '#2d246f',
    950: '#000000',
  },
}
SCSS
$custom: #2d246f;
$custom-light: #6e5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d246f",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 247.2,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32102,
    "c": 0.12419,
    "h": 282.3
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#2D246F
secondary
#98A24D
accent
#DA4DCA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2D246F

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

Preview Lab → · Contrast checker → · Palette generator →

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