#2D4698#2D4698

#2D4698 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.138 H 267.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2D4698
RGBrgb(45, 70, 152)
HSLhsl(226, 54%, 39%)
HSVhsv(226, 70%, 60%)
CMYKcmyk(70.4%, 53.9%, 0%, 40.4%)
CIE-LABlab(32.27, 19.32, -47.81)
CIE-LCHlch(32.27, 51.57, 292.00°)
OKLaboklab(42.32% -0.0062 -0.1375)
OKLCHoklch(42.32% 0.138 267.4)
XYZxyz(8.9379, 7.2043, 30.6192)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4698 #987F2D
analogous
#2D7B98 #2D4698 #492D98
triadic
#2D4698 #982D46 #46982D
tetradic
#2D4698 #982D7B #987F2D #2D9849
square
#2D4698 #982D7B #987F2D #2D9849
split-complementary
#2D4698 #98492D #7B982D
monochromatic
#111B3A #1F3069 #2D4698 #3D5DC5 #6C84D3

Accessibility & contrast

On white

8.60
#2D4698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D4698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4698
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4698#FFFFFF#000000##FFFFFF
##2D46981.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D519B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4698;
/* rgb */ color: rgb(45, 70, 152);
/* oklch */ color: oklch(42.3% 0.138 267.4);
Tailwind
colors: {
  custom: {
    50: '#7479b7',
    500: '#2d4698',
    950: '#000000',
  },
}
SCSS
$custom: #2d4698;
$custom-light: #7479b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4698",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 225.981,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4232,
    "c": 0.1376,
    "h": 267.4
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#2D4698
secondary
#BAA766
accent
#BB4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4698

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

Preview Lab → · Contrast checker → · Palette generator →

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