#304683#304683

#304683 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.106 H 266.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#304683
RGBrgb(48, 70, 131)
HSLhsl(224, 46%, 35%)
HSVhsv(224, 63%, 51%)
CMYKcmyk(63.4%, 46.6%, 0%, 48.6%)
CIE-LABlab(30.99, 11.96, -36.97)
CIE-LCHlch(30.99, 38.86, 287.93°)
OKLaboklab(40.93% -0.0059 -0.1055)
OKLCHoklch(40.93% 0.106 266.8)
XYZxyz(7.5044, 6.6467, 22.3558)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304683 #836D30
analogous
#307083 #304683 #433083
triadic
#304683 #833046 #468330
tetradic
#304683 #833070 #836D30 #308343
square
#304683 #833070 #836D30 #308343
split-complementary
#304683 #834330 #708330
monochromatic
#0F1629 #202E56 #304683 #405EB0 #6680C7

Accessibility & contrast

On white

9.02
#304683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#304683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304683
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304683#FFFFFF#000000##FFFFFF
##3046831.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#1C4582
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #304683;
/* rgb */ color: rgb(48, 70, 131);
/* oklch */ color: oklch(40.9% 0.106 266.8);
Tailwind
colors: {
  custom: {
    50: '#7179a7',
    500: '#304683',
    950: '#000000',
  },
}
SCSS
$custom: #304683;
$custom-light: #7179a7;
$custom-dark: #000000;
JSON
{
  "hex": "#304683",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 131
  },
  "hsl": {
    "h": 224.096,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.10567,
    "h": 266.8
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#304683
secondary
#AE9A61
accent
#B352D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #304683

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

Preview Lab → · Contrast checker → · Palette generator →

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