#30367A#30367A

#30367A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.114 H 275.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#30367A
RGBrgb(48, 54, 122)
HSLhsl(235, 44%, 33%)
HSVhsv(235, 61%, 48%)
CMYKcmyk(60.7%, 55.7%, 0%, 52.2%)
CIE-LABlab(25.78, 19.56, -39.72)
CIE-LCHlch(25.78, 44.27, 296.22°)
OKLaboklab(36.78% 0.0109 -0.1138)
OKLCHoklch(36.78% 0.114 275.5)
XYZxyz(6.0498, 4.6714, 18.9914)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30367A #7A7430
analogous
#305B7A #30367A #4F307A
triadic
#30367A #7A3036 #367A30
tetradic
#30367A #7A305B #7A7430 #307A4F
square
#30367A #7A305B #7A7430 #307A4F
split-complementary
#30367A #7A4F30 #5B7A30
monochromatic
#0D0F22 #1F234E #30367A #4149A6 #636BC2

Accessibility & contrast

On white

10.86
#30367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#30367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30367A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30367A#FFFFFF#000000##FFFFFF
##30367A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30367a;
/* rgb */ color: rgb(48, 54, 122);
/* oklch */ color: oklch(36.8% 0.114 275.5);
Tailwind
colors: {
  custom: {
    50: '#706ca1',
    500: '#30367a',
    950: '#000000',
  },
}
SCSS
$custom: #30367a;
$custom-light: #706ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#30367a",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 235.135,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36779,
    "c": 0.1143,
    "h": 275.5
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#30367A
secondary
#A9A35D
accent
#C955D3
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #30367A

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

Preview Lab → · Contrast checker → · Palette generator →

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