#2D3FB7#2D3FB7

#2D3FB7 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.189 H 269.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2D3FB7
RGBrgb(45, 63, 183)
HSLhsl(232, 61%, 45%)
HSVhsv(232, 75%, 72%)
CMYKcmyk(75.4%, 65.6%, 0%, 28.2%)
CIE-LABlab(32.99, 35.46, -65.22)
CIE-LCHlch(32.99, 74.24, 298.53°)
OKLaboklab(43.64% -0.0007 -0.1887)
OKLCHoklch(43.64% 0.189 269.8)
XYZxyz(11.4040, 7.5306, 45.6431)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3FB7 #B7A52D
analogous
#2D84B7 #2D3FB7 #602DB7
triadic
#2D3FB7 #B72D3F #3FB72D
tetradic
#2D3FB7 #B72D84 #B7A52D #2DB760
square
#2D3FB7 #B72D84 #B7A52D #2DB760
split-complementary
#2D3FB7 #B7602D #84B72D
monochromatic
#151D55 #212E86 #2D3FB7 #4E5FD3 #7F8CDF

Accessibility & contrast

On white

8.38
#2D3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D3FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3FB7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3FB7#FFFFFF#000000##FFFFFF
##2D3FB71.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d3fb7;
/* rgb */ color: rgb(45, 63, 183);
/* oklch */ color: oklch(43.6% 0.189 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b74ce',
    500: '#2d3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2d3fb7;
$custom-light: #7b74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3fb7",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 232.174,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.18866,
    "h": 269.8
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#2D3FB7
secondary
#C8BE78
accent
#CF44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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