#2D2F94#2D2F94

#2D2F94 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.161 H 274.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2D2F94
RGBrgb(45, 47, 148)
HSLhsl(239, 53%, 38%)
HSVhsv(239, 70%, 58%)
CMYKcmyk(69.6%, 68.2%, 0%, 42%)
CIE-LABlab(25.95, 33.10, -55.66)
CIE-LCHlch(25.95, 64.76, 300.74°)
OKLaboklab(37.53% 0.0128 -0.1607)
OKLCHoklch(37.53% 0.161 274.5)
XYZxyz(7.4422, 4.7284, 28.5317)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F94 #94922D
analogous
#2D6294 #2D2F94 #5E2D94
triadic
#2D2F94 #942D2F #2F942D
tetradic
#2D2F94 #942D62 #94922D #2D945E
square
#2D2F94 #942D62 #94922D #2D945E
split-complementary
#2D2F94 #945E2D #62942D
monochromatic
#101136 #1F2065 #2D2F94 #3B3EC3 #6A6CD2

Accessibility & contrast

On white

10.79
#2D2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D2F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F94
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F94#FFFFFF#000000##FFFFFF
##2D2F941.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2f94;
/* rgb */ color: rgb(45, 47, 148);
/* oklch */ color: oklch(37.5% 0.161 274.5);
Tailwind
colors: {
  custom: {
    50: '#7468b4',
    500: '#2d2f94',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f94;
$custom-light: #7468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f94",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 238.835,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37529,
    "c": 0.16126,
    "h": 274.5
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#2D2F94
secondary
#B8B764
accent
#DA4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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