#2D2F92#2D2F92

#2D2F92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.159 H 274.7°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2D2F92
RGBrgb(45, 47, 146)
HSLhsl(239, 53%, 37%)
HSVhsv(239, 69%, 57%)
CMYKcmyk(69.2%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.76, 32.39, -54.74)
CIE-LCHlch(25.76, 63.60, 300.62°)
OKLaboklab(37.34% 0.013 -0.158)
OKLCHoklch(37.34% 0.159 274.7)
XYZxyz(7.2853, 4.6656, 27.7052)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F92 #92902D
analogous
#2D6192 #2D2F92 #5E2D92
triadic
#2D2F92 #922D2F #2F922D
tetradic
#2D2F92 #922D61 #92902D #2D925E
square
#2D2F92 #922D61 #92902D #2D925E
split-complementary
#2D2F92 #925E2D #61922D
monochromatic
#101134 #1F2063 #2D2F92 #3B3EC1 #696BD1

Accessibility & contrast

On white

10.86
#2D2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F92
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F92#FFFFFF#000000##FFFFFF
##2D2F921.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2f92;
/* rgb */ color: rgb(45, 47, 146);
/* oklch */ color: oklch(37.3% 0.159 274.7);
Tailwind
colors: {
  custom: {
    50: '#7468b3',
    500: '#2d2f92',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f92;
$custom-light: #7468b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f92",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 238.812,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37336,
    "c": 0.15857,
    "h": 274.7
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#2D2F92
secondary
#B7B663
accent
#D94CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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