#303674#303674

#303674 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.105 H 275.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#303674
RGBrgb(48, 54, 116)
HSLhsl(235, 41%, 32%)
HSVhsv(235, 59%, 45%)
CMYKcmyk(58.6%, 53.4%, 0%, 54.5%)
CIE-LABlab(25.34, 17.39, -36.61)
CIE-LCHlch(25.34, 40.53, 295.40°)
OKLaboklab(36.31% 0.0104 -0.1046)
OKLCHoklch(36.31% 0.105 275.7)
XYZxyz(5.6895, 4.5273, 17.0937)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303674 #746E30
analogous
#305874 #303674 #4C3074
triadic
#303674 #743036 #367430
tetradic
#303674 #743058 #746E30 #30744C
square
#303674 #743058 #746E30 #30744C
split-complementary
#303674 #744C30 #587430
monochromatic
#0C0E1D #1E2249 #303674 #424A9F #6169BE

Accessibility & contrast

On white

11.02
#303674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#303674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303674
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303674#FFFFFF#000000##FFFFFF
##3036741.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F76
Deuteranopia (green-blind)
#093973
Tritanopia (blue-blind)
#0A444F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #303674;
/* rgb */ color: rgb(48, 54, 116);
/* oklch */ color: oklch(36.3% 0.105 275.7);
Tailwind
colors: {
  custom: {
    50: '#6f6c9c',
    500: '#303674',
    950: '#000000',
  },
}
SCSS
$custom: #303674;
$custom-light: #6f6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#303674",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 116
  },
  "hsl": {
    "h": 234.706,
    "s": 41.463,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36314,
    "c": 0.10516,
    "h": 275.7
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#303674
secondary
#A59E5B
accent
#C657D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #303674

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

Preview Lab → · Contrast checker → · Palette generator →

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