#30367B#30367B

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

Color values

HEX#30367B
RGBrgb(48, 54, 123)
HSLhsl(235, 44%, 34%)
HSVhsv(235, 61%, 48%)
CMYKcmyk(61%, 56.1%, 0%, 51.8%)
CIE-LABlab(25.85, 19.92, -40.23)
CIE-LCHlch(25.85, 44.89, 296.35°)
OKLaboklab(36.86% 0.0109 -0.1153)
OKLCHoklch(36.86% 0.116 275.4)
XYZxyz(6.1121, 4.6963, 19.3194)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30367B #7B7530
analogous
#305B7B #30367B #4F307B
triadic
#30367B #7B3036 #367B30
tetradic
#30367B #7B305B #7B7530 #307B4F
square
#30367B #7B305B #7B7530 #307B4F
split-complementary
#30367B #7B4F30 #5B7B30
monochromatic
#0E0F23 #1F234F #30367B #4149A7 #636BC2

Accessibility & contrast

On white

10.83
#30367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30367B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30367B#FFFFFF#000000##FFFFFF
##30367B1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30367b;
/* rgb */ color: rgb(48, 54, 123);
/* oklch */ color: oklch(36.9% 0.116 275.4);
Tailwind
colors: {
  custom: {
    50: '#706ca2',
    500: '#30367b',
    950: '#000000',
  },
}
SCSS
$custom: #30367b;
$custom-light: #706ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#30367b",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 235.2,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36858,
    "c": 0.1158,
    "h": 275.4
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30367B

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

Preview Lab → · Contrast checker → · Palette generator →

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