#305692#305692

#305692 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.108 H 259.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#305692
RGBrgb(48, 86, 146)
HSLhsl(217, 51%, 38%)
HSVhsv(217, 67%, 57%)
CMYKcmyk(67.1%, 41.1%, 0%, 42.7%)
CIE-LABlab(36.67, 6.92, -37.11)
CIE-LCHlch(36.67, 37.75, 280.56°)
OKLaboklab(45.6% -0.0202 -0.1057)
OKLCHoklch(45.6% 0.108 259.2)
XYZxyz(9.7332, 9.3583, 28.4820)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305692 #926C30
analogous
#308792 #305692 #3B3092
triadic
#305692 #923056 #569230
tetradic
#305692 #923087 #926C30 #30923B
square
#305692 #923087 #926C30 #30923B
split-complementary
#305692 #923B30 #879230
monochromatic
#122036 #213B64 #305692 #3F71C0 #6D93CF

Accessibility & contrast

On white

7.31
#305692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#305692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305692
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305692#FFFFFF#000000##FFFFFF
##3056921.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #305692;
/* rgb */ color: rgb(48, 86, 146);
/* oklch */ color: oklch(45.6% 0.108 259.2);
Tailwind
colors: {
  custom: {
    50: '#7385b2',
    500: '#305692',
    950: '#000000',
  },
}
SCSS
$custom: #305692;
$custom-light: #7385b2;
$custom-dark: #000000;
JSON
{
  "hex": "#305692",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 146
  },
  "hsl": {
    "h": 216.735,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.10759,
    "h": 259.2
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#305692
secondary
#B79867
accent
#A44EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305692

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

Preview Lab → · Contrast checker → · Palette generator →

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