#2D3FB8#2D3FB8

#2D3FB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.190 H 269.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2D3FB8
RGBrgb(45, 63, 184)
HSLhsl(232, 61%, 45%)
HSVhsv(232, 76%, 72%)
CMYKcmyk(75.5%, 65.8%, 0%, 27.8%)
CIE-LABlab(33.08, 35.83, -65.67)
CIE-LCHlch(33.08, 74.80, 298.62°)
OKLaboklab(43.74% -0.0008 -0.1899)
OKLCHoklch(43.74% 0.19 269.8)
XYZxyz(11.5085, 7.5723, 46.1932)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3FB8 #B8A62D
analogous
#2D85B8 #2D3FB8 #602DB8
triadic
#2D3FB8 #B82D3F #3FB82D
tetradic
#2D3FB8 #B82D85 #B8A62D #2DB860
square
#2D3FB8 #B82D85 #B8A62D #2DB860
split-complementary
#2D3FB8 #B8602D #85B82D
monochromatic
#151D56 #212E87 #2D3FB8 #4E60D4 #808CE0

Accessibility & contrast

On white

8.35
#2D3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3FB8
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3FB8#FFFFFF#000000##FFFFFF
##2D3FB81.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d3fb8;
/* rgb */ color: rgb(45, 63, 184);
/* oklch */ color: oklch(43.7% 0.190 269.8);
Tailwind
colors: {
  custom: {
    50: '#7c74ce',
    500: '#2d3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d3fb8;
$custom-light: #7c74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3fb8",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 232.23,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43737,
    "c": 0.18995,
    "h": 269.8
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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