#2D3FB2#2D3FB2

#2D3FB2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.182 H 269.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2D3FB2
RGBrgb(45, 63, 178)
HSLhsl(232, 60%, 44%)
HSVhsv(232, 75%, 70%)
CMYKcmyk(74.7%, 64.6%, 0%, 30.2%)
CIE-LABlab(32.54, 33.65, -62.99)
CIE-LCHlch(32.54, 71.42, 298.11°)
OKLaboklab(43.18% -0.0004 -0.1821)
OKLCHoklch(43.18% 0.182 269.9)
XYZxyz(10.8928, 7.3261, 42.9508)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3FB2 #B2A02D
analogous
#2D81B2 #2D3FB2 #5D2DB2
triadic
#2D3FB2 #B22D3F #3FB22D
tetradic
#2D3FB2 #B22D81 #B2A02D #2DB25D
square
#2D3FB2 #B22D81 #B2A02D #2DB25D
split-complementary
#2D3FB2 #B25D2D #81B22D
monochromatic
#141C50 #212E81 #2D3FB2 #4B5DD1 #7C89DE

Accessibility & contrast

On white

8.52
#2D3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2D3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3FB2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3FB2#FFFFFF#000000##FFFFFF
##2D3FB21.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d3fb2;
/* rgb */ color: rgb(45, 63, 178);
/* oklch */ color: oklch(43.2% 0.182 269.9);
Tailwind
colors: {
  custom: {
    50: '#7a74ca',
    500: '#2d3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d3fb2;
$custom-light: #7a74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3fb2",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 231.88,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43178,
    "c": 0.18213,
    "h": 269.9
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#2D3FB2
secondary
#C6BB75
accent
#CD45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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