#304B80#304B80

#304B80 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.095 H 262.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#304B80
RGBrgb(48, 75, 128)
HSLhsl(220, 45%, 35%)
HSVhsv(220, 63%, 50%)
CMYKcmyk(62.5%, 41.4%, 0%, 49.8%)
CIE-LABlab(32.30, 7.50, -33.02)
CIE-LCHlch(32.30, 33.87, 282.80°)
OKLaboklab(41.88% -0.0122 -0.0939)
OKLCHoklch(41.88% 0.095 262.6)
XYZxyz(7.6299, 7.2184, 21.4091)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304B80 #806530
analogous
#307380 #304B80 #3D3080
triadic
#304B80 #80304B #4B8030
tetradic
#304B80 #803073 #806530 #30803D
square
#304B80 #803073 #806530 #30803D
split-complementary
#304B80 #803D30 #738030
monochromatic
#0F1727 #1F3153 #304B80 #4165AD #6586C5

Accessibility & contrast

On white

8.59
#304B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#304B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304B80
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304B80#FFFFFF#000000##FFFFFF
##304B801.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345082
Deuteranopia (green-blind)
#29497F
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #304b80;
/* rgb */ color: rgb(48, 75, 128);
/* oklch */ color: oklch(41.9% 0.095 262.6);
Tailwind
colors: {
  custom: {
    50: '#707ca5',
    500: '#304b80',
    950: '#000000',
  },
}
SCSS
$custom: #304b80;
$custom-light: #707ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#304b80",
  "rgb": {
    "r": 48,
    "g": 75,
    "b": 128
  },
  "hsl": {
    "h": 219.75,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41878,
    "c": 0.09464,
    "h": 262.6
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#304B80
secondary
#AC925F
accent
#A953D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #304B80

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

Preview Lab → · Contrast checker → · Palette generator →

#304B80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva