#305095#305095

#305095 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.119 H 263.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#305095
RGBrgb(48, 80, 149)
HSLhsl(221, 51%, 39%)
HSVhsv(221, 68%, 58%)
CMYKcmyk(67.8%, 46.3%, 0%, 41.6%)
CIE-LABlab(35.07, 11.99, -41.47)
CIE-LCHlch(35.07, 43.16, 286.12°)
OKLaboklab(44.43% -0.0134 -0.1186)
OKLCHoklch(44.43% 0.119 263.6)
XYZxyz(9.5105, 8.5347, 29.5741)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305095 #957530
analogous
#308295 #305095 #423095
triadic
#305095 #953050 #509530
tetradic
#305095 #953082 #957530 #309542
square
#305095 #953082 #957530 #309542
split-complementary
#305095 #954230 #829530
monochromatic
#121E38 #213767 #305095 #4169C2 #6F8ED1

Accessibility & contrast

On white

7.76
#305095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#305095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305095
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305095#FFFFFF#000000##FFFFFF
##3050951.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5798
Deuteranopia (green-blind)
#1C4E94
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305095;
/* rgb */ color: rgb(48, 80, 149);
/* oklch */ color: oklch(44.4% 0.119 263.6);
Tailwind
colors: {
  custom: {
    50: '#7480b4',
    500: '#305095',
    950: '#000000',
  },
}
SCSS
$custom: #305095;
$custom-light: #7480b4;
$custom-dark: #000000;
JSON
{
  "hex": "#305095",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 220.99,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44432,
    "c": 0.11932,
    "h": 263.6
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#305095
secondary
#B89F69
accent
#AE4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305095

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

Preview Lab → · Contrast checker → · Palette generator →

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