#2D368E#2D368E

#2D368E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.144 H 273.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2D368E
RGBrgb(45, 54, 142)
HSLhsl(234, 52%, 37%)
HSVhsv(234, 68%, 56%)
CMYKcmyk(68.3%, 62%, 0%, 44.3%)
CIE-LABlab(27.15, 26.35, -49.99)
CIE-LCHlch(27.15, 56.51, 297.80°)
OKLaboklab(38.25% 0.0076 -0.1441)
OKLCHoklch(38.25% 0.144 273)
XYZxyz(7.2822, 5.1486, 26.1959)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D368E #8E852D
analogous
#2D678E #2D368E #552D8E
triadic
#2D368E #8E2D36 #368E2D
tetradic
#2D368E #8E2D67 #8E852D #2D8E55
square
#2D368E #8E2D67 #8E852D #2D8E55
split-complementary
#2D368E #8E552D #678E2D
monochromatic
#101331 #1E2460 #2D368E #3C48BC #6770CF

Accessibility & contrast

On white

10.35
#2D368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D368E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D368E#FFFFFF#000000##FFFFFF
##2D368E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d368e;
/* rgb */ color: rgb(45, 54, 142);
/* oklch */ color: oklch(38.2% 0.144 273.0);
Tailwind
colors: {
  custom: {
    50: '#736db0',
    500: '#2d368e',
    950: '#000000',
  },
}
SCSS
$custom: #2d368e;
$custom-light: #736db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d368e",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 234.433,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.14427,
    "h": 273
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#2D368E
secondary
#B5AE61
accent
#CE4CDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D368E

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

Preview Lab → · Contrast checker → · Palette generator →

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