#303273#303273

#303273 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.4% C 0.110 H 277.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#303273
RGBrgb(48, 50, 115)
HSLhsl(238, 41%, 32%)
HSVhsv(238, 58%, 45%)
CMYKcmyk(58.3%, 56.5%, 0%, 54.9%)
CIE-LABlab(24.15, 19.78, -37.89)
CIE-LCHlch(24.15, 42.74, 297.56°)
OKLaboklab(35.4% 0.015 -0.1085)
OKLCHoklch(35.4% 0.11 277.9)
XYZxyz(5.4531, 4.1470, 16.7294)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303273 #737130
analogous
#305473 #303273 #503073
triadic
#303273 #733032 #327330
tetradic
#303273 #733054 #737130 #307350
square
#303273 #733054 #737130 #307350
split-complementary
#303273 #735030 #547330
monochromatic
#0C0C1D #1E1F48 #303273 #42459E #6163BD

Accessibility & contrast

On white

11.48
#303273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#303273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303273
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303273#FFFFFF#000000##FFFFFF
##3032731.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#0D414D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303273;
/* rgb */ color: rgb(48, 50, 115);
/* oklch */ color: oklch(35.4% 0.110 277.9);
Tailwind
colors: {
  custom: {
    50: '#6f699c',
    500: '#303273',
    950: '#000000',
  },
}
SCSS
$custom: #303273;
$custom-light: #6f699c;
$custom-dark: #000000;
JSON
{
  "hex": "#303273",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 238.209,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35397,
    "c": 0.1095,
    "h": 277.9
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#303273
secondary
#A4A25B
accent
#CD57D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #303273

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

Preview Lab → · Contrast checker → · Palette generator →

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