#2D3EB3#2D3EB3

#2D3EB3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.185 H 270.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2D3EB3
RGBrgb(45, 62, 179)
HSLhsl(232, 60%, 44%)
HSVhsv(232, 75%, 70%)
CMYKcmyk(74.9%, 65.4%, 0%, 29.8%)
CIE-LABlab(32.38, 34.66, -63.84)
CIE-LCHlch(32.38, 72.64, 298.50°)
OKLaboklab(43.09% 0.0001 -0.1846)
OKLCHoklch(43.09% 0.185 270)
XYZxyz(10.9387, 7.2566, 43.4633)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3EB3 #B3A22D
analogous
#2D81B3 #2D3EB3 #5F2DB3
triadic
#2D3EB3 #B32D3E #3EB32D
tetradic
#2D3EB3 #B32D81 #B3A22D #2DB35F
square
#2D3EB3 #B32D81 #B3A22D #2DB35F
split-complementary
#2D3EB3 #B35F2D #81B32D
monochromatic
#141C51 #212D82 #2D3EB3 #4B5CD2 #7C89DE

Accessibility & contrast

On white

8.57
#2D3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D3EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3EB3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3EB3#FFFFFF#000000##FFFFFF
##2D3EB31.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3eb3;
/* rgb */ color: rgb(45, 62, 179);
/* oklch */ color: oklch(43.1% 0.185 270.0);
Tailwind
colors: {
  custom: {
    50: '#7a73cb',
    500: '#2d3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d3eb3;
$custom-light: #7a73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3eb3",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 232.388,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.18461,
    "h": 270
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#2D3EB3
secondary
#C7BC75
accent
#CF45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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