#2D4697#2D4697

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

Color values

HEX#2D4697
RGBrgb(45, 70, 151)
HSLhsl(226, 54%, 38%)
HSVhsv(226, 70%, 59%)
CMYKcmyk(70.2%, 53.6%, 0%, 40.8%)
CIE-LABlab(32.19, 18.94, -47.32)
CIE-LCHlch(32.19, 50.97, 291.82°)
OKLaboklab(42.24% -0.0062 -0.136)
OKLCHoklch(42.24% 0.136 267.4)
XYZxyz(8.8563, 7.1717, 30.1897)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4697 #977E2D
analogous
#2D7B97 #2D4697 #492D97
triadic
#2D4697 #972D46 #46972D
tetradic
#2D4697 #972D7B #977E2D #2D9749
square
#2D4697 #972D7B #977E2D #2D9749
split-complementary
#2D4697 #97492D #7B972D
monochromatic
#111A39 #1F3068 #2D4697 #3C5CC5 #6B84D3

Accessibility & contrast

On white

8.63
#2D4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4697
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4697#FFFFFF#000000##FFFFFF
##2D46971.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4697;
/* rgb */ color: rgb(45, 70, 151);
/* oklch */ color: oklch(42.2% 0.136 267.4);
Tailwind
colors: {
  custom: {
    50: '#7379b6',
    500: '#2d4697',
    950: '#000000',
  },
}
SCSS
$custom: #2d4697;
$custom-light: #7379b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4697",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 225.849,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.13616,
    "h": 267.4
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#2D4697
secondary
#BAA666
accent
#BB4ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4697

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

Preview Lab → · Contrast checker → · Palette generator →

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