#2D3CA0#2D3CA0

#2D3CA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.162 H 270.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2D3CA0
RGBrgb(45, 60, 160)
HSLhsl(232, 56%, 40%)
HSVhsv(232, 72%, 63%)
CMYKcmyk(71.9%, 62.5%, 0%, 37.3%)
CIE-LABlab(30.22, 29.01, -55.99)
CIE-LCHlch(30.22, 63.06, 297.39°)
OKLaboklab(40.99% 0.0024 -0.1616)
OKLCHoklch(40.99% 0.162 270.8)
XYZxyz(9.0411, 6.3268, 33.9956)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CA0 #A0912D
analogous
#2D75A0 #2D3CA0 #572DA0
triadic
#2D3CA0 #A02D3C #3CA02D
tetradic
#2D3CA0 #A02D75 #A0912D #2DA057
square
#2D3CA0 #A02D75 #A0912D #2DA057
split-complementary
#2D3CA0 #A0572D #75A02D
monochromatic
#121840 #202A70 #2D3CA0 #4153C9 #707ED7

Accessibility & contrast

On white

9.27
#2D3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D3CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CA0
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CA0#FFFFFF#000000##FFFFFF
##2D3CA01.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d3ca0;
/* rgb */ color: rgb(45, 60, 160);
/* oklch */ color: oklch(41.0% 0.162 270.8);
Tailwind
colors: {
  custom: {
    50: '#7671bd',
    500: '#2d3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ca0;
$custom-light: #7671bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ca0",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 232.174,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4099,
    "c": 0.16164,
    "h": 270.8
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#2D3CA0
secondary
#BEB36B
accent
#CC48DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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