#305293#305293

#305293 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.114 H 262.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#305293
RGBrgb(48, 82, 147)
HSLhsl(219, 51%, 38%)
HSVhsv(219, 67%, 58%)
CMYKcmyk(67.3%, 44.2%, 0%, 42.4%)
CIE-LABlab(35.53, 9.91, -39.51)
CIE-LCHlch(35.53, 40.74, 284.09°)
OKLaboklab(44.75% -0.0158 -0.1128)
OKLCHoklch(44.75% 0.114 262)
XYZxyz(9.5008, 8.7686, 28.7899)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305293 #937130
analogous
#308393 #305293 #3F3093
triadic
#305293 #933052 #529330
tetradic
#305293 #933083 #937130 #30933F
square
#305293 #933083 #937130 #30933F
split-complementary
#305293 #933F30 #839330
monochromatic
#121F37 #213865 #305293 #406CC1 #6E8FD0

Accessibility & contrast

On white

7.63
#305293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#305293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305293
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305293#FFFFFF#000000##FFFFFF
##3052931.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335896
Deuteranopia (green-blind)
#234F92
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305293;
/* rgb */ color: rgb(48, 82, 147);
/* oklch */ color: oklch(44.7% 0.114 262.0);
Tailwind
colors: {
  custom: {
    50: '#7382b3',
    500: '#305293',
    950: '#000000',
  },
}
SCSS
$custom: #305293;
$custom-light: #7382b3;
$custom-dark: #000000;
JSON
{
  "hex": "#305293",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 219.394,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44748,
    "c": 0.1139,
    "h": 262
  },
  "luminance": 0.0877
}

Semantic roles & 50–950 ramp

primary
#305293
secondary
#B79C68
accent
#AA4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305293

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

Preview Lab → · Contrast checker → · Palette generator →

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