#2D3094#2D3094

#2D3094 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.160 H 274.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2D3094
RGBrgb(45, 48, 148)
HSLhsl(238, 53%, 38%)
HSVhsv(238, 70%, 58%)
CMYKcmyk(69.6%, 67.6%, 0%, 42%)
CIE-LABlab(26.18, 32.47, -55.27)
CIE-LCHlch(26.18, 64.10, 300.43°)
OKLaboklab(37.7% 0.012 -0.1596)
OKLCHoklch(37.7% 0.16 274.3)
XYZxyz(7.4827, 4.8092, 28.5452)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3094 #94912D
analogous
#2D6494 #2D3094 #5D2D94
triadic
#2D3094 #942D30 #30942D
tetradic
#2D3094 #942D64 #94912D #2D945D
square
#2D3094 #942D64 #94912D #2D945D
split-complementary
#2D3094 #945D2D #64942D
monochromatic
#101236 #1F2165 #2D3094 #3B3FC3 #6A6DD2

Accessibility & contrast

On white

10.70
#2D3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3094
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3094#FFFFFF#000000##FFFFFF
##2D30941.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3094;
/* rgb */ color: rgb(45, 48, 148);
/* oklch */ color: oklch(37.7% 0.160 274.3);
Tailwind
colors: {
  custom: {
    50: '#7469b4',
    500: '#2d3094',
    950: '#000000',
  },
}
SCSS
$custom: #2d3094;
$custom-light: #7469b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3094",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 238.252,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37702,
    "c": 0.16005,
    "h": 274.3
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3094

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

Preview Lab → · Contrast checker → · Palette generator →

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