#304583#304583

#304583 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.107 H 267.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#304583
RGBrgb(48, 69, 131)
HSLhsl(225, 46%, 35%)
HSVhsv(225, 63%, 51%)
CMYKcmyk(63.4%, 47.3%, 0%, 48.6%)
CIE-LABlab(30.69, 12.64, -37.44)
CIE-LCHlch(30.69, 39.52, 288.65°)
OKLaboklab(40.7% -0.0048 -0.1069)
OKLCHoklch(40.7% 0.107 267.5)
XYZxyz(7.4424, 6.5227, 22.3351)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304583 #836E30
analogous
#306F83 #304583 #443083
triadic
#304583 #833045 #458330
tetradic
#304583 #83306F #836E30 #308344
square
#304583 #83306F #836E30 #308344
split-complementary
#304583 #834430 #6F8330
monochromatic
#0F1629 #202D56 #304583 #405DB0 #667FC7

Accessibility & contrast

On white

9.11
#304583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#304583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304583
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304583#FFFFFF#000000##FFFFFF
##3045831.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#1A4582
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #304583;
/* rgb */ color: rgb(48, 69, 131);
/* oklch */ color: oklch(40.7% 0.107 267.5);
Tailwind
colors: {
  custom: {
    50: '#7178a7',
    500: '#304583',
    950: '#000000',
  },
}
SCSS
$custom: #304583;
$custom-light: #7178a7;
$custom-dark: #000000;
JSON
{
  "hex": "#304583",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 224.819,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40704,
    "c": 0.10702,
    "h": 267.5
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#304583
secondary
#AE9B61
accent
#B552D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #304583

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

Preview Lab → · Contrast checker → · Palette generator →

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