#2D3BAF#2D3BAF

#2D3BAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.183 H 270.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2D3BAF
RGBrgb(45, 59, 175)
HSLhsl(234, 59%, 43%)
HSVhsv(234, 74%, 69%)
CMYKcmyk(74.3%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.30, 35.12, -63.23)
CIE-LCHlch(31.30, 72.34, 299.05°)
OKLaboklab(42.19% 0.0023 -0.1829)
OKLCHoklch(42.19% 0.183 270.7)
XYZxyz(10.3814, 6.7799, 41.3107)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BAF #AFA12D
analogous
#2D7CAF #2D3BAF #602DAF
triadic
#2D3BAF #AF2D3B #3BAF2D
tetradic
#2D3BAF #AF2D7C #AFA12D #2DAF60
square
#2D3BAF #AF2D7C #AFA12D #2DAF60
split-complementary
#2D3BAF #AF602D #7CAF2D
monochromatic
#141A4E #202B7E #2D3BAF #4958D0 #7A84DD

Accessibility & contrast

On white

8.91
#2D3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D3BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3BAF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BAF#FFFFFF#000000##FFFFFF
##2D3BAF1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d3baf;
/* rgb */ color: rgb(45, 59, 175);
/* oklch */ color: oklch(42.2% 0.183 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a71c8',
    500: '#2d3baf',
    950: '#000000',
  },
}
SCSS
$custom: #2d3baf;
$custom-light: #7a71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3baf",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 233.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4219,
    "c": 0.18287,
    "h": 270.7
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#2D3BAF
secondary
#C5BC73
accent
#D146E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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