#2D2F91#2D2F91

#2D2F91 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.157 H 274.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2D2F91
RGBrgb(45, 47, 145)
HSLhsl(239, 53%, 37%)
HSVhsv(239, 69%, 57%)
CMYKcmyk(69%, 67.6%, 0%, 43.1%)
CIE-LABlab(25.67, 32.04, -54.27)
CIE-LCHlch(25.67, 63.02, 300.55°)
OKLaboklab(37.24% 0.0131 -0.1567)
OKLCHoklch(37.24% 0.157 274.8)
XYZxyz(7.2078, 4.6346, 27.2973)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F91 #918F2D
analogous
#2D6191 #2D2F91 #5D2D91
triadic
#2D2F91 #912D2F #2F912D
tetradic
#2D2F91 #912D61 #918F2D #2D915D
square
#2D2F91 #912D61 #918F2D #2D915D
split-complementary
#2D2F91 #915D2D #61912D
monochromatic
#101134 #1F2062 #2D2F91 #3B3EC0 #686AD0

Accessibility & contrast

On white

10.90
#2D2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2F91
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F91#FFFFFF#000000##FFFFFF
##2D2F911.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2f91;
/* rgb */ color: rgb(45, 47, 145);
/* oklch */ color: oklch(37.2% 0.157 274.8);
Tailwind
colors: {
  custom: {
    50: '#7468b2',
    500: '#2d2f91',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f91;
$custom-light: #7468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f91",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 238.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37241,
    "c": 0.15722,
    "h": 274.8
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#2D2F91
secondary
#B7B563
accent
#D94CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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