#2D2BAF#2D2BAF

#2D2BAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.200 H 273.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2D2BAF
RGBrgb(45, 43, 175)
HSLhsl(241, 61%, 43%)
HSVhsv(241, 75%, 69%)
CMYKcmyk(74.3%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.79, 44.76, -69.01)
CIE-LCHlch(27.79, 82.26, 302.96°)
OKLaboklab(39.67% 0.0109 -0.1997)
OKLCHoklch(39.67% 0.2 273.1)
XYZxyz(9.6813, 5.3798, 41.0773)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BAF #ADAF2B
analogous
#2B6BAF #2D2BAF #6F2BAF
triadic
#2D2BAF #AF2D2B #2BAF2D
tetradic
#2D2BAF #AF2B6B #ADAF2B #2BAF6F
square
#2D2BAF #AF2B6B #ADAF2B #2BAF6F
split-complementary
#2D2BAF #AF6F2B #6BAF2B
monochromatic
#14134D #201F7E #2D2BAF #4846D1 #7877DE

Accessibility & contrast

On white

10.11
#2D2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BAF
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BAF#FFFFFF#000000##FFFFFF
##2D2BAF1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d2baf;
/* rgb */ color: rgb(45, 43, 175);
/* oklch */ color: oklch(39.7% 0.200 273.1);
Tailwind
colors: {
  custom: {
    50: '#7b66c8',
    500: '#2d2baf',
    950: '#000000',
  },
}
SCSS
$custom: #2d2baf;
$custom-light: #7b66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2baf",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 240.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39665,
    "c": 0.19999,
    "h": 273.1
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#2D2BAF
secondary
#C4C570
accent
#E444E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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