#2D4693#2D4693

#2D4693 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.130 H 267.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2D4693
RGBrgb(45, 70, 147)
HSLhsl(225, 53%, 38%)
HSVhsv(225, 69%, 58%)
CMYKcmyk(69.4%, 52.4%, 0%, 42.4%)
CIE-LABlab(31.91, 17.42, -45.35)
CIE-LCHlch(31.91, 48.58, 291.02°)
OKLaboklab(41.93% -0.0066 -0.1302)
OKLCHoklch(41.93% 0.13 267.1)
XYZxyz(8.5370, 7.0440, 28.5078)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4693 #937A2D
analogous
#2D7993 #2D4693 #472D93
triadic
#2D4693 #932D46 #46932D
tetradic
#2D4693 #932D79 #937A2D #2D9347
square
#2D4693 #932D79 #937A2D #2D9347
split-complementary
#2D4693 #93472D #79932D
monochromatic
#101935 #1F3064 #2D4693 #3B5CC2 #6983D1

Accessibility & contrast

On white

8.72
#2D4693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D4693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4693
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4693#FFFFFF#000000##FFFFFF
##2D46931.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175096
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4693;
/* rgb */ color: rgb(45, 70, 147);
/* oklch */ color: oklch(41.9% 0.130 267.1);
Tailwind
colors: {
  custom: {
    50: '#7379b3',
    500: '#2d4693',
    950: '#000000',
  },
}
SCSS
$custom: #2d4693;
$custom-light: #7379b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4693",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 147
  },
  "hsl": {
    "h": 225.294,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.13038,
    "h": 267.1
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#2D4693
secondary
#B8A364
accent
#B94BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4693

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

Preview Lab → · Contrast checker → · Palette generator →

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