#30367C#30367C

#30367C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.117 H 275.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#30367C
RGBrgb(48, 54, 124)
HSLhsl(235, 44%, 34%)
HSVhsv(235, 61%, 49%)
CMYKcmyk(61.3%, 56.5%, 0%, 51.4%)
CIE-LABlab(25.93, 20.29, -40.74)
CIE-LCHlch(25.93, 45.51, 296.47°)
OKLaboklab(36.94% 0.011 -0.1168)
OKLCHoklch(36.94% 0.117 275.4)
XYZxyz(6.1750, 4.7215, 19.6508)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30367C #7C7630
analogous
#305C7C #30367C #50307C
triadic
#30367C #7C3036 #367C30
tetradic
#30367C #7C305C #7C7630 #307C50
square
#30367C #7C305C #7C7630 #307C50
split-complementary
#30367C #7C5030 #5C7C30
monochromatic
#0E1024 #1F2350 #30367C #4149A8 #646BC3

Accessibility & contrast

On white

10.80
#30367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#30367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30367C
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30367C#FFFFFF#000000##FFFFFF
##30367C1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30367c;
/* rgb */ color: rgb(48, 54, 124);
/* oklch */ color: oklch(36.9% 0.117 275.4);
Tailwind
colors: {
  custom: {
    50: '#706ca2',
    500: '#30367c',
    950: '#000000',
  },
}
SCSS
$custom: #30367c;
$custom-light: #706ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#30367c",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 235.263,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36938,
    "c": 0.11731,
    "h": 275.4
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#30367C
secondary
#AAA45E
accent
#CA54D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #30367C

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

Preview Lab → · Contrast checker → · Palette generator →

#30367C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva