#2D2F93#2D2F93

#2D2F93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.160 H 274.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2D2F93
RGBrgb(45, 47, 147)
HSLhsl(239, 53%, 38%)
HSVhsv(239, 69%, 58%)
CMYKcmyk(69.4%, 68%, 0%, 42.4%)
CIE-LABlab(25.85, 32.75, -55.20)
CIE-LCHlch(25.85, 64.18, 300.68°)
OKLaboklab(37.43% 0.0129 -0.1594)
OKLCHoklch(37.43% 0.16 274.6)
XYZxyz(7.3634, 4.6968, 28.1166)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F93 #93912D
analogous
#2D6293 #2D2F93 #5E2D93
triadic
#2D2F93 #932D2F #2F932D
tetradic
#2D2F93 #932D62 #93912D #2D935E
square
#2D2F93 #932D62 #93912D #2D935E
split-complementary
#2D2F93 #935E2D #62932D
monochromatic
#101135 #1F2064 #2D2F93 #3B3EC2 #696BD1

Accessibility & contrast

On white

10.83
#2D2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F93
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F93#FFFFFF#000000##FFFFFF
##2D2F931.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2f93;
/* rgb */ color: rgb(45, 47, 147);
/* oklch */ color: oklch(37.4% 0.160 274.6);
Tailwind
colors: {
  custom: {
    50: '#7468b4',
    500: '#2d2f93',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f93;
$custom-light: #7468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f93",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 238.824,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37432,
    "c": 0.15992,
    "h": 274.6
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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