#305092#305092

#305092 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.115 H 263.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#305092
RGBrgb(48, 80, 146)
HSLhsl(220, 51%, 38%)
HSVhsv(220, 67%, 57%)
CMYKcmyk(67.1%, 45.2%, 0%, 42.7%)
CIE-LABlab(34.88, 10.86, -39.95)
CIE-LCHlch(34.88, 41.40, 285.21°)
OKLaboklab(44.22% -0.0139 -0.1141)
OKLCHoklch(44.22% 0.115 263.1)
XYZxyz(9.2741, 8.4401, 28.3289)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305092 #927230
analogous
#308192 #305092 #413092
triadic
#305092 #923050 #509230
tetradic
#305092 #923081 #927230 #309241
square
#305092 #923081 #927230 #309241
split-complementary
#305092 #924130 #819230
monochromatic
#121E36 #213764 #305092 #3F69C0 #6D8DCF

Accessibility & contrast

On white

7.81
#305092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#305092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305092
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305092#FFFFFF#000000##FFFFFF
##3050921.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#204E91
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305092;
/* rgb */ color: rgb(48, 80, 146);
/* oklch */ color: oklch(44.2% 0.115 263.1);
Tailwind
colors: {
  custom: {
    50: '#7380b2',
    500: '#305092',
    950: '#000000',
  },
}
SCSS
$custom: #305092;
$custom-light: #7380b2;
$custom-dark: #000000;
JSON
{
  "hex": "#305092",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 146
  },
  "hsl": {
    "h": 220.408,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.11495,
    "h": 263.1
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#305092
secondary
#B79D67
accent
#AC4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305092

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

Preview Lab → · Contrast checker → · Palette generator →

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