#2D3BB8#2D3BB8

#2D3BB8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.194 H 270.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2D3BB8
RGBrgb(45, 59, 184)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 72%)
CMYKcmyk(75.5%, 67.9%, 0%, 27.8%)
CIE-LABlab(32.14, 38.34, -67.21)
CIE-LCHlch(32.14, 77.38, 299.70°)
OKLaboklab(43.05% 0.0015 -0.1945)
OKLCHoklch(43.05% 0.194 270.4)
XYZxyz(11.2949, 7.1453, 46.1220)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BB8 #B8AA2D
analogous
#2D80B8 #2D3BB8 #652DB8
triadic
#2D3BB8 #B82D3B #3BB82D
tetradic
#2D3BB8 #B82D80 #B8AA2D #2DB865
square
#2D3BB8 #B82D80 #B8AA2D #2DB865
split-complementary
#2D3BB8 #B8652D #80B82D
monochromatic
#151B56 #212B87 #2D3BB8 #4E5CD4 #8089E0

Accessibility & contrast

On white

8.64
#2D3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D3BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3BB8
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BB8#FFFFFF#000000##FFFFFF
##2D3BB81.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3bb8;
/* rgb */ color: rgb(45, 59, 184);
/* oklch */ color: oklch(43.1% 0.194 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c71ce',
    500: '#2d3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d3bb8;
$custom-light: #7c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3bb8",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 233.957,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.19449,
    "h": 270.4
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#2D3BB8
secondary
#C9C078
accent
#D444E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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