#305294#305294

#305294 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.115 H 262.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#305294
RGBrgb(48, 82, 148)
HSLhsl(220, 51%, 38%)
HSVhsv(220, 68%, 58%)
CMYKcmyk(67.6%, 44.6%, 0%, 42%)
CIE-LABlab(35.60, 10.29, -40.02)
CIE-LCHlch(35.60, 41.32, 284.42°)
OKLaboklab(44.82% -0.0156 -0.1143)
OKLCHoklch(44.82% 0.115 262.2)
XYZxyz(9.5796, 8.8002, 29.2050)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305294 #947230
analogous
#308494 #305294 #403094
triadic
#305294 #943052 #529430
tetradic
#305294 #943084 #947230 #309440
square
#305294 #943084 #947230 #309440
split-complementary
#305294 #944030 #849430
monochromatic
#121F38 #213866 #305294 #406CC1 #6E90D0

Accessibility & contrast

On white

7.61
#305294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#305294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305294
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305294#FFFFFF#000000##FFFFFF
##3052941.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335997
Deuteranopia (green-blind)
#224F93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305294;
/* rgb */ color: rgb(48, 82, 148);
/* oklch */ color: oklch(44.8% 0.115 262.2);
Tailwind
colors: {
  custom: {
    50: '#7482b4',
    500: '#305294',
    950: '#000000',
  },
}
SCSS
$custom: #305294;
$custom-light: #7482b4;
$custom-dark: #000000;
JSON
{
  "hex": "#305294",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 219.6,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44815,
    "c": 0.11535,
    "h": 262.2
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#305294
secondary
#B89D68
accent
#AA4DDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305294

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

Preview Lab → · Contrast checker → · Palette generator →

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