#2D369F#2D369F

#2D369F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.168 H 272.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2D369F
RGBrgb(45, 54, 159)
HSLhsl(235, 56%, 40%)
HSVhsv(235, 72%, 62%)
CMYKcmyk(71.7%, 66%, 0%, 37.6%)
CIE-LABlab(28.64, 32.56, -57.97)
CIE-LCHlch(28.64, 66.49, 299.32°)
OKLaboklab(39.8% 0.0068 -0.1675)
OKLCHoklch(39.8% 0.168 272.3)
XYZxyz(8.6573, 5.6986, 33.4379)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D369F #9F962D
analogous
#2D6F9F #2D369F #5D2D9F
triadic
#2D369F #9F2D36 #369F2D
tetradic
#2D369F #9F2D6F #9F962D #2D9F5D
square
#2D369F #9F2D6F #9F962D #2D9F5D
split-complementary
#2D369F #9F5D2D #6F9F2D
monochromatic
#121640 #20266F #2D369F #404BC9 #7078D6

Accessibility & contrast

On white

9.81
#2D369F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D369F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D369F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D369F#FFFFFF#000000##FFFFFF
##2D369F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d369f;
/* rgb */ color: rgb(45, 54, 159);
/* oklch */ color: oklch(39.8% 0.168 272.3);
Tailwind
colors: {
  custom: {
    50: '#766dbc',
    500: '#2d369f',
    950: '#000000',
  },
}
SCSS
$custom: #2d369f;
$custom-light: #766dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d369f",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 235.263,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.398,
    "c": 0.16762,
    "h": 272.3
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#2D369F
secondary
#BEB76A
accent
#D349DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D369F

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

Preview Lab → · Contrast checker → · Palette generator →

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