#2D369E#2D369E

#2D369E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.166 H 272.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2D369E
RGBrgb(45, 54, 158)
HSLhsl(235, 56%, 40%)
HSVhsv(235, 72%, 62%)
CMYKcmyk(71.5%, 65.8%, 0%, 38%)
CIE-LABlab(28.55, 32.20, -57.51)
CIE-LCHlch(28.55, 65.91, 299.24°)
OKLaboklab(39.71% 0.0068 -0.1661)
OKLCHoklch(39.71% 0.166 272.4)
XYZxyz(8.5708, 5.6640, 32.9827)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D369E #9E952D
analogous
#2D6F9E #2D369E #5C2D9E
triadic
#2D369E #9E2D36 #369E2D
tetradic
#2D369E #9E2D6F #9E952D #2D9E5C
square
#2D369E #9E2D6F #9E952D #2D9E5C
split-complementary
#2D369E #9E5C2D #6F9E2D
monochromatic
#12153F #1F266E #2D369E #404BC9 #6F78D6

Accessibility & contrast

On white

9.85
#2D369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D369E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D369E#FFFFFF#000000##FFFFFF
##2D369E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d369e;
/* rgb */ color: rgb(45, 54, 158);
/* oklch */ color: oklch(39.7% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#766dbc',
    500: '#2d369e',
    950: '#000000',
  },
}
SCSS
$custom: #2d369e;
$custom-light: #766dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d369e",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 235.221,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.16628,
    "h": 272.4
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D369E

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

Preview Lab → · Contrast checker → · Palette generator →

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