#305083#305083

#305083 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.093 H 259.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#305083
RGBrgb(48, 80, 131)
HSLhsl(217, 46%, 35%)
HSVhsv(217, 63%, 51%)
CMYKcmyk(63.4%, 38.9%, 0%, 48.6%)
CIE-LABlab(33.99, 5.30, -32.19)
CIE-LCHlch(33.99, 32.63, 279.35°)
OKLaboklab(43.25% -0.0172 -0.0914)
OKLCHoklch(43.25% 0.093 259.3)
XYZxyz(8.1829, 8.0037, 22.5820)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305083 #836330
analogous
#307A83 #305083 #393083
triadic
#305083 #833050 #508330
tetradic
#305083 #83307A #836330 #308339
square
#305083 #83307A #836330 #308339
split-complementary
#305083 #833930 #7A8330
monochromatic
#0F1929 #203556 #305083 #406BB0 #668CC7

Accessibility & contrast

On white

8.07
#305083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#305083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305083
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305083#FFFFFF#000000##FFFFFF
##3050831.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#2F4C82
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #305083;
/* rgb */ color: rgb(48, 80, 131);
/* oklch */ color: oklch(43.2% 0.093 259.3);
Tailwind
colors: {
  custom: {
    50: '#7080a7',
    500: '#305083',
    950: '#000000',
  },
}
SCSS
$custom: #305083;
$custom-light: #7080a7;
$custom-dark: #000000;
JSON
{
  "hex": "#305083",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 216.867,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43245,
    "c": 0.09297,
    "h": 259.3
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#305083
secondary
#AE9061
accent
#A352D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #305083

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

Preview Lab → · Contrast checker → · Palette generator →

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