#303EBC#303EBC

#303EBC is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.195 H 270.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#303EBC
RGBrgb(48, 62, 188)
HSLhsl(234, 59%, 46%)
HSVhsv(234, 74%, 74%)
CMYKcmyk(74.5%, 67%, 0%, 26.3%)
CIE-LABlab(33.36, 38.20, -67.56)
CIE-LCHlch(33.36, 77.61, 299.48°)
OKLaboklab(44.1% 0.0025 -0.1954)
OKLCHoklch(44.1% 0.195 270.7)
XYZxyz(12.0156, 7.7032, 48.4208)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303EBC #BCAE30
analogous
#3084BC #303EBC #6830BC
triadic
#303EBC #BC303E #3EBC30
tetradic
#303EBC #BC3084 #BCAE30 #30BC68
square
#303EBC #BC3084 #BCAE30 #30BC68
split-complementary
#303EBC #BC6830 #84BC30
monochromatic
#171E5A #242E8B #303EBC #5562D4 #868FE0

Accessibility & contrast

On white

8.27
#303EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#303EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303EBC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303EBC#FFFFFF#000000##FFFFFF
##303EBC1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #303ebc;
/* rgb */ color: rgb(48, 62, 188);
/* oklch */ color: oklch(44.1% 0.195 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e73d1',
    500: '#303ebc',
    950: '#000000',
  },
}
SCSS
$custom: #303ebc;
$custom-light: #7e73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#303ebc",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 234,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.19545,
    "h": 270.7
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#303EBC
secondary
#CAC27E
accent
#D345E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #303EBC

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

Preview Lab → · Contrast checker → · Palette generator →

#303EBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva