#2D3099#2D3099

#2D3099 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.167 H 274.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2D3099
RGBrgb(45, 48, 153)
HSLhsl(238, 55%, 39%)
HSVhsv(238, 71%, 60%)
CMYKcmyk(70.6%, 68.6%, 0%, 40%)
CIE-LABlab(26.65, 34.24, -57.57)
CIE-LCHlch(26.65, 66.99, 300.74°)
OKLaboklab(38.18% 0.0115 -0.1663)
OKLCHoklch(38.18% 0.167 274)
XYZxyz(7.8870, 4.9710, 30.6747)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3099 #99962D
analogous
#2D6699 #2D3099 #602D99
triadic
#2D3099 #992D30 #30992D
tetradic
#2D3099 #992D66 #99962D #2D9960
square
#2D3099 #992D66 #99962D #2D9960
split-complementary
#2D3099 #99602D #66992D
monochromatic
#11123A #1F216A #2D3099 #3D41C6 #6C6FD4

Accessibility & contrast

On white

10.53
#2D3099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D3099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3099
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3099#FFFFFF#000000##FFFFFF
##2D30991.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3099;
/* rgb */ color: rgb(45, 48, 153);
/* oklch */ color: oklch(38.2% 0.167 274.0);
Tailwind
colors: {
  custom: {
    50: '#7669b8',
    500: '#2d3099',
    950: '#000000',
  },
}
SCSS
$custom: #2d3099;
$custom-light: #7669b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3099",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 238.333,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38184,
    "c": 0.16674,
    "h": 274
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#2D3099
secondary
#BBB967
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D3099

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

Preview Lab → · Contrast checker → · Palette generator →

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