#303EA0#303EA0

#303EA0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.158 H 271.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#303EA0
RGBrgb(48, 62, 160)
HSLhsl(233, 54%, 41%)
HSVhsv(233, 70%, 63%)
CMYKcmyk(70%, 61.2%, 0%, 37.3%)
CIE-LABlab(30.90, 28.10, -54.87)
CIE-LCHlch(30.90, 61.65, 297.12°)
OKLaboklab(41.54% 0.004 -0.1582)
OKLCHoklch(41.54% 0.158 271.4)
XYZxyz(9.2846, 6.6108, 34.0376)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303EA0 #A09230
analogous
#3076A0 #303EA0 #5A30A0
triadic
#303EA0 #A0303E #3EA030
tetradic
#303EA0 #A03076 #A09230 #30A05A
square
#303EA0 #A03076 #A09230 #30A05A
split-complementary
#303EA0 #A05A30 #76A030
monochromatic
#141A42 #222C71 #303EA0 #4656C7 #7581D6

Accessibility & contrast

On white

9.04
#303EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#303EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303EA0
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303EA0#FFFFFF#000000##FFFFFF
##303EA01.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #303ea0;
/* rgb */ color: rgb(48, 62, 160);
/* oklch */ color: oklch(41.5% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#7773bd',
    500: '#303ea0',
    950: '#000000',
  },
}
SCSS
$custom: #303ea0;
$custom-light: #7773bd;
$custom-dark: #000000;
JSON
{
  "hex": "#303ea0",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 232.5,
    "s": 53.846,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41539,
    "c": 0.15829,
    "h": 271.4
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#303EA0
secondary
#BEB46E
accent
#CB4BDD
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #303EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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