#30375F#30375F

#30375F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.070 H 274.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#30375F
RGBrgb(48, 55, 95)
HSLhsl(231, 33%, 28%)
HSVhsv(231, 49%, 37%)
CMYKcmyk(49.5%, 42.1%, 0%, 62.7%)
CIE-LABlab(24.28, 9.25, -24.78)
CIE-LCHlch(24.28, 26.45, 290.47°)
OKLaboklab(35.07% 0.0057 -0.0699)
OKLCHoklch(35.07% 0.07 274.7)
XYZxyz(4.6500, 4.1867, 11.3874)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30375F #5F5830
analogous
#304E5F #30375F #40305F
triadic
#30375F #5F3037 #375F30
tetradic
#30375F #5F304E #5F5830 #305F40
square
#30375F #5F304E #5F5830 #305F40
split-complementary
#30375F #5F4030 #4E5F30
monochromatic
#0A0C14 #1B1F36 #30375F #454F88 #5D68AD

Accessibility & contrast

On white

11.43
#30375F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#30375F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30375F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30375F#FFFFFF#000000##FFFFFF
##30375F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#24385E
Tritanopia (blue-blind)
#1F3F46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30375f;
/* rgb */ color: rgb(48, 55, 95);
/* oklch */ color: oklch(35.1% 0.070 274.7);
Tailwind
colors: {
  custom: {
    50: '#6b6d8c',
    500: '#30375f',
    950: '#000000',
  },
}
SCSS
$custom: #30375f;
$custom-light: #6b6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#30375f",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 95
  },
  "hsl": {
    "h": 231.064,
    "s": 32.867,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35066,
    "c": 0.07019,
    "h": 274.7
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#30375F
secondary
#90885A
accent
#B95FC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #30375F

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

Preview Lab → · Contrast checker → · Palette generator →

#30375F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva