#2D3095#2D3095

#2D3095 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.161 H 274.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2D3095
RGBrgb(45, 48, 149)
HSLhsl(238, 54%, 38%)
HSVhsv(238, 70%, 58%)
CMYKcmyk(69.8%, 67.8%, 0%, 41.6%)
CIE-LABlab(26.28, 32.82, -55.73)
CIE-LCHlch(26.28, 64.68, 300.49°)
OKLaboklab(37.8% 0.0119 -0.161)
OKLCHoklch(37.8% 0.161 274.2)
XYZxyz(7.5622, 4.8410, 28.9638)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3095 #95922D
analogous
#2D6495 #2D3095 #5E2D95
triadic
#2D3095 #952D30 #30952D
tetradic
#2D3095 #952D64 #95922D #2D955E
square
#2D3095 #952D64 #95922D #2D955E
split-complementary
#2D3095 #955E2D #64952D
monochromatic
#111237 #1F2166 #2D3095 #3B3FC4 #6A6DD2

Accessibility & contrast

On white

10.67
#2D3095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D3095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3095
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3095#FFFFFF#000000##FFFFFF
##2D30951.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3095;
/* rgb */ color: rgb(45, 48, 149);
/* oklch */ color: oklch(37.8% 0.161 274.2);
Tailwind
colors: {
  custom: {
    50: '#7569b5',
    500: '#2d3095',
    950: '#000000',
  },
}
SCSS
$custom: #2d3095;
$custom-light: #7569b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3095",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 238.269,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37797,
    "c": 0.1614,
    "h": 274.2
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#2D3095
secondary
#B9B765
accent
#D94BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3095

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

Preview Lab → · Contrast checker → · Palette generator →

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