#304993#304993

#304993 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.125 H 267.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#304993
RGBrgb(48, 73, 147)
HSLhsl(225, 51%, 38%)
HSVhsv(225, 67%, 58%)
CMYKcmyk(67.3%, 50.3%, 0%, 42.4%)
CIE-LABlab(32.92, 15.91, -43.71)
CIE-LCHlch(32.92, 46.52, 290.00°)
OKLaboklab(42.74% -0.0066 -0.1253)
OKLCHoklch(42.74% 0.125 267)
XYZxyz(8.8661, 7.4992, 28.5784)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304993 #937A30
analogous
#307A93 #304993 #483093
triadic
#304993 #933049 #499330
tetradic
#304993 #93307A #937A30 #309348
square
#304993 #93307A #937A30 #309348
split-complementary
#304993 #934830 #7A9330
monochromatic
#121B37 #213265 #304993 #4060C1 #6E87D0

Accessibility & contrast

On white

8.40
#304993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#304993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304993
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304993#FFFFFF#000000##FFFFFF
##3049931.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215296
Deuteranopia (green-blind)
#064991
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #304993;
/* rgb */ color: rgb(48, 73, 147);
/* oklch */ color: oklch(42.7% 0.125 267.0);
Tailwind
colors: {
  custom: {
    50: '#747bb3',
    500: '#304993',
    950: '#000000',
  },
}
SCSS
$custom: #304993;
$custom-light: #747bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#304993",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 147
  },
  "hsl": {
    "h": 224.848,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42742,
    "c": 0.12547,
    "h": 267
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#304993
secondary
#B7A368
accent
#B74EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #304993

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

Preview Lab → · Contrast checker → · Palette generator →

#304993 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva