#2D2FBC#2D2FBC

#2D2FBC is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.212 H 271.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2D2FBC
RGBrgb(45, 47, 188)
HSLhsl(239, 61%, 46%)
HSVhsv(239, 76%, 74%)
CMYKcmyk(76.1%, 75%, 0%, 26.3%)
CIE-LABlab(29.96, 46.82, -73.16)
CIE-LCHlch(29.96, 86.86, 302.62°)
OKLaboklab(41.61% 0.0067 -0.2118)
OKLCHoklch(41.61% 0.212 271.8)
XYZxyz(11.1727, 6.2206, 48.1791)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FBC #BCBA2D
analogous
#2D76BC #2D2FBC #722DBC
triadic
#2D2FBC #BC2D2F #2FBC2D
tetradic
#2D2FBC #BC2D76 #BCBA2D #2DBC72
square
#2D2FBC #BC2D76 #BCBA2D #2DBC72
split-complementary
#2D2FBC #BC722D #76BC2D
monochromatic
#151659 #21238B #2D2FBC #5153D5 #8284E1

Accessibility & contrast

On white

9.36
#2D2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D2FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FBC
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FBC#FFFFFF#000000##FFFFFF
##2D2FBC1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d2fbc;
/* rgb */ color: rgb(45, 47, 188);
/* oklch */ color: oklch(41.6% 0.212 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e69d2',
    500: '#2d2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fbc;
$custom-light: #7e69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fbc",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 239.161,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41613,
    "c": 0.21189,
    "h": 271.8
  },
  "luminance": 0.06222
}

Semantic roles & 50–950 ramp

primary
#2D2FBC
secondary
#CAC97B
accent
#E243E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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