#303889#303889

#303889 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.134 H 274.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#303889
RGBrgb(48, 56, 137)
HSLhsl(235, 48%, 36%)
HSVhsv(235, 65%, 54%)
CMYKcmyk(65%, 59.1%, 0%, 46.3%)
CIE-LABlab(27.47, 23.67, -46.37)
CIE-LCHlch(27.47, 52.06, 297.05°)
OKLaboklab(38.41% 0.0093 -0.1333)
OKLCHoklch(38.41% 0.134 274)
XYZxyz(7.1470, 5.2623, 24.3011)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303889 #898130
analogous
#306589 #303889 #553089
triadic
#303889 #893038 #388930
tetradic
#303889 #893065 #898130 #308955
square
#303889 #893065 #898130 #308955
split-complementary
#303889 #895530 #658930
monochromatic
#10132E #20255C #303889 #404BB6 #6972CA

Accessibility & contrast

On white

10.23
#303889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#303889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303889
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303889#FFFFFF#000000##FFFFFF
##3038891.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #303889;
/* rgb */ color: rgb(48, 56, 137);
/* oklch */ color: oklch(38.4% 0.134 274.0);
Tailwind
colors: {
  custom: {
    50: '#736eac',
    500: '#303889',
    950: '#000000',
  },
}
SCSS
$custom: #303889;
$custom-light: #736eac;
$custom-dark: #000000;
JSON
{
  "hex": "#303889",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 234.607,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38406,
    "c": 0.13366,
    "h": 274
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#303889
secondary
#B2AB63
accent
#CC50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303889

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

Preview Lab → · Contrast checker → · Palette generator →

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