#2D336E#2D336E

#2D336E is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.101 H 275.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2D336E
RGBrgb(45, 51, 110)
HSLhsl(234, 42%, 30%)
HSVhsv(234, 59%, 43%)
CMYKcmyk(59.1%, 53.6%, 0%, 56.9%)
CIE-LABlab(23.84, 16.61, -35.21)
CIE-LCHlch(23.84, 38.93, 295.26°)
OKLaboklab(34.99% 0.0097 -0.1006)
OKLCHoklch(34.99% 0.101 275.5)
XYZxyz(5.0796, 4.0510, 15.2631)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D336E #6E682D
analogous
#2D536E #2D336E #482D6E
triadic
#2D336E #6E2D33 #336E2D
tetradic
#2D336E #6E2D53 #6E682D #2D6E48
square
#2D336E #6E2D53 #6E682D #2D6E48
split-complementary
#2D336E #6E482D #536E2D
monochromatic
#090B17 #1B1F43 #2D336E #3F4799 #5A63BB

Accessibility & contrast

On white

11.60
#2D336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D336E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D336E#FFFFFF#000000##FFFFFF
##2D336E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C70
Deuteranopia (green-blind)
#09366D
Tritanopia (blue-blind)
#08404B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d336e;
/* rgb */ color: rgb(45, 51, 110);
/* oklch */ color: oklch(35.0% 0.101 275.5);
Tailwind
colors: {
  custom: {
    50: '#6c6a98',
    500: '#2d336e',
    950: '#000000',
  },
}
SCSS
$custom: #2d336e;
$custom-light: #6c6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#2d336e",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 234.462,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.1011,
    "h": 275.5
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#2D336E
secondary
#A09957
accent
#C656D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D336E

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

Preview Lab → · Contrast checker → · Palette generator →

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