#305192#305192

#305192 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.114 H 262.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#305192
RGBrgb(48, 81, 146)
HSLhsl(220, 51%, 38%)
HSVhsv(220, 67%, 57%)
CMYKcmyk(67.1%, 44.5%, 0%, 42.7%)
CIE-LABlab(35.18, 10.20, -39.48)
CIE-LCHlch(35.18, 40.77, 284.49°)
OKLaboklab(44.45% -0.0149 -0.1127)
OKLCHoklch(44.45% 0.114 262.4)
XYZxyz(9.3478, 8.5877, 28.3535)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305192 #927130
analogous
#308292 #305192 #403092
triadic
#305192 #923051 #519230
tetradic
#305192 #923082 #927130 #309240
square
#305192 #923082 #927130 #309240
split-complementary
#305192 #924030 #829230
monochromatic
#121E36 #213764 #305192 #3F6BC0 #6D8ECF

Accessibility & contrast

On white

7.73
#305192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#305192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305192
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305192#FFFFFF#000000##FFFFFF
##3051921.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325894
Deuteranopia (green-blind)
#224F91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305192;
/* rgb */ color: rgb(48, 81, 146);
/* oklch */ color: oklch(44.5% 0.114 262.4);
Tailwind
colors: {
  custom: {
    50: '#7381b2',
    500: '#305192',
    950: '#000000',
  },
}
SCSS
$custom: #305192;
$custom-light: #7381b2;
$custom-dark: #000000;
JSON
{
  "hex": "#305192",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 219.796,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44452,
    "c": 0.1137,
    "h": 262.4
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#305192
secondary
#B79C67
accent
#AB4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305192

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

Preview Lab → · Contrast checker → · Palette generator →

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