#2D359F#2D359F

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

Color values

HEX#2D359F
RGBrgb(45, 53, 159)
HSLhsl(236, 56%, 40%)
HSVhsv(236, 72%, 62%)
CMYKcmyk(71.7%, 66.7%, 0%, 37.6%)
CIE-LABlab(28.40, 33.20, -58.37)
CIE-LCHlch(28.40, 67.15, 299.63°)
OKLaboklab(39.62% 0.0074 -0.1686)
OKLCHoklch(39.62% 0.169 272.5)
XYZxyz(8.6112, 5.6065, 33.4225)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D359F #9F972D
analogous
#2D6E9F #2D359F #5E2D9F
triadic
#2D359F #9F2D35 #359F2D
tetradic
#2D359F #9F2D6E #9F972D #2D9F5E
square
#2D359F #9F2D6E #9F972D #2D9F5E
split-complementary
#2D359F #9F5E2D #6E9F2D
monochromatic
#121540 #20256F #2D359F #404AC9 #7077D6

Accessibility & contrast

On white

9.90
#2D359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D359F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D359F#FFFFFF#000000##FFFFFF
##2D359F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d359f;
/* rgb */ color: rgb(45, 53, 159);
/* oklch */ color: oklch(39.6% 0.169 272.5);
Tailwind
colors: {
  custom: {
    50: '#766cbc',
    500: '#2d359f',
    950: '#000000',
  },
}
SCSS
$custom: #2d359f;
$custom-light: #766cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d359f",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 235.789,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.39623,
    "c": 0.16881,
    "h": 272.5
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#2D359F
secondary
#BEB86A
accent
#D549DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D359F

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

Preview Lab → · Contrast checker → · Palette generator →

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