#2D4893#2D4893

#2D4893 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.128 H 266.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2D4893
RGBrgb(45, 72, 147)
HSLhsl(224, 53%, 38%)
HSVhsv(224, 69%, 58%)
CMYKcmyk(69.4%, 51%, 0%, 42.4%)
CIE-LABlab(32.48, 16.07, -44.43)
CIE-LCHlch(32.48, 47.25, 289.89°)
OKLaboklab(42.37% -0.0085 -0.1275)
OKLCHoklch(42.37% 0.128 266.2)
XYZxyz(8.6642, 7.2984, 28.5502)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4893 #93782D
analogous
#2D7B93 #2D4893 #452D93
triadic
#2D4893 #932D48 #48932D
tetradic
#2D4893 #932D7B #93782D #2D9345
square
#2D4893 #932D7B #93782D #2D9345
split-complementary
#2D4893 #93452D #7B932D
monochromatic
#101A35 #1F3164 #2D4893 #3B5FC2 #6985D1

Accessibility & contrast

On white

8.54
#2D4893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2D4893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4893
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4893#FFFFFF#000000##FFFFFF
##2D48931.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5196
Deuteranopia (green-blind)
#004891
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4893;
/* rgb */ color: rgb(45, 72, 147);
/* oklch */ color: oklch(42.4% 0.128 266.2);
Tailwind
colors: {
  custom: {
    50: '#727ab3',
    500: '#2d4893',
    950: '#000000',
  },
}
SCSS
$custom: #2d4893;
$custom-light: #727ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4893",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 147
  },
  "hsl": {
    "h": 224.118,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42365,
    "c": 0.12777,
    "h": 266.2
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#2D4893
secondary
#B8A264
accent
#B64BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4893

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

Preview Lab → · Contrast checker → · Palette generator →

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