#2D369D#2D369D

#2D369D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.165 H 272.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2D369D
RGBrgb(45, 54, 157)
HSLhsl(235, 55%, 40%)
HSVhsv(235, 71%, 62%)
CMYKcmyk(71.3%, 65.6%, 0%, 38.4%)
CIE-LABlab(28.46, 31.83, -57.05)
CIE-LCHlch(28.46, 65.33, 299.16°)
OKLaboklab(39.61% 0.0069 -0.1648)
OKLCHoklch(39.61% 0.165 272.4)
XYZxyz(8.4851, 5.6297, 32.5312)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D369D #9D942D
analogous
#2D6E9D #2D369D #5C2D9D
triadic
#2D369D #9D2D36 #369D2D
tetradic
#2D369D #9D2D6E #9D942D #2D9D5C
square
#2D369D #9D2D6E #9D942D #2D9D5C
split-complementary
#2D369D #9D5C2D #6E9D2D
monochromatic
#12153E #1F266D #2D369D #3F4AC8 #6F77D6

Accessibility & contrast

On white

9.88
#2D369D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D369D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D369D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D369D#FFFFFF#000000##FFFFFF
##2D369D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d369d;
/* rgb */ color: rgb(45, 54, 157);
/* oklch */ color: oklch(39.6% 0.165 272.4);
Tailwind
colors: {
  custom: {
    50: '#766dbb',
    500: '#2d369d',
    950: '#000000',
  },
}
SCSS
$custom: #2d369d;
$custom-light: #766dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d369d",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 157
  },
  "hsl": {
    "h": 235.179,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.16493,
    "h": 272.4
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#2D369D
secondary
#BDB669
accent
#D349DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D369D

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

Preview Lab → · Contrast checker → · Palette generator →

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