#303EBD#303EBD

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

Color values

HEX#303EBD
RGBrgb(48, 62, 189)
HSLhsl(234, 59%, 46%)
HSVhsv(234, 75%, 74%)
CMYKcmyk(74.6%, 67.2%, 0%, 25.9%)
CIE-LABlab(33.45, 38.55, -68.00)
CIE-LCHlch(33.45, 78.16, 299.55°)
OKLaboklab(44.19% 0.0024 -0.1967)
OKLCHoklch(44.19% 0.197 270.7)
XYZxyz(12.1237, 7.7465, 48.9905)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303EBD #BDAF30
analogous
#3085BD #303EBD #6930BD
triadic
#303EBD #BD303E #3EBD30
tetradic
#303EBD #BD3085 #BDAF30 #30BD69
square
#303EBD #BD3085 #BDAF30 #30BD69
split-complementary
#303EBD #BD6930 #85BD30
monochromatic
#171E5B #242E8C #303EBD #5663D4 #8790E0

Accessibility & contrast

On white

8.24
#303EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#303EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303EBD
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303EBD#FFFFFF#000000##FFFFFF
##303EBD1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #303ebd;
/* rgb */ color: rgb(48, 62, 189);
/* oklch */ color: oklch(44.2% 0.197 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e73d2',
    500: '#303ebd',
    950: '#000000',
  },
}
SCSS
$custom: #303ebd;
$custom-light: #7e73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#303ebd",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 234.043,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4419,
    "c": 0.19673,
    "h": 270.7
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #303EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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