#2D3CB3#2D3CB3

#2D3CB3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.187 H 270.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2D3CB3
RGBrgb(45, 60, 179)
HSLhsl(233, 60%, 44%)
HSVhsv(233, 75%, 70%)
CMYKcmyk(74.9%, 66.5%, 0%, 29.8%)
CIE-LABlab(31.90, 35.93, -64.63)
CIE-LCHlch(31.90, 73.94, 299.07°)
OKLaboklab(42.74% 0.0014 -0.1869)
OKLCHoklch(42.74% 0.187 270.4)
XYZxyz(10.8320, 7.0431, 43.4277)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CB3 #B3A42D
analogous
#2D7FB3 #2D3CB3 #612DB3
triadic
#2D3CB3 #B32D3C #3CB32D
tetradic
#2D3CB3 #B32D7F #B3A42D #2DB361
square
#2D3CB3 #B32D7F #B3A42D #2DB361
split-complementary
#2D3CB3 #B3612D #7FB32D
monochromatic
#141B51 #212C82 #2D3CB3 #4B5AD2 #7C87DE

Accessibility & contrast

On white

8.72
#2D3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D3CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CB3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CB3#FFFFFF#000000##FFFFFF
##2D3CB31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3cb3;
/* rgb */ color: rgb(45, 60, 179);
/* oklch */ color: oklch(42.7% 0.187 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b72cb',
    500: '#2d3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d3cb3;
$custom-light: #7b72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3cb3",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 233.284,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.18692,
    "h": 270.4
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#2D3CB3
secondary
#C7BD75
accent
#D145E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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