#303175#303175

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

Color values

HEX#303175
RGBrgb(48, 49, 117)
HSLhsl(239, 42%, 32%)
HSVhsv(239, 59%, 46%)
CMYKcmyk(59%, 58.1%, 0%, 54.1%)
CIE-LABlab(24.03, 21.18, -39.37)
CIE-LCHlch(24.03, 44.70, 298.27°)
OKLaboklab(35.35% 0.0163 -0.1128)
OKLCHoklch(35.35% 0.114 278.2)
XYZxyz(5.5271, 4.1090, 17.3280)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303175 #757430
analogous
#305475 #303175 #513075
triadic
#303175 #753031 #317530
tetradic
#303175 #753054 #757430 #307551
square
#303175 #753054 #757430 #307551
split-complementary
#303175 #755130 #547530
monochromatic
#0C0D1E #1E1F4A #303175 #4243A0 #6163BE

Accessibility & contrast

On white

11.53
#303175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#303175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303175
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303175#FFFFFF#000000##FFFFFF
##3031751.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013C77
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#0A414E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303175;
/* rgb */ color: rgb(48, 49, 117);
/* oklch */ color: oklch(35.4% 0.114 278.2);
Tailwind
colors: {
  custom: {
    50: '#6f699d',
    500: '#303175',
    950: '#000000',
  },
}
SCSS
$custom: #303175;
$custom-light: #6f699d;
$custom-dark: #000000;
JSON
{
  "hex": "#303175",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 239.13,
    "s": 41.818,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.11398,
    "h": 278.2
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#303175
secondary
#A5A45B
accent
#D056D2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #303175

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

Preview Lab → · Contrast checker → · Palette generator →

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