#30347F#30347F

#30347F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.125 H 276.1°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#30347F
RGBrgb(48, 52, 127)
HSLhsl(237, 45%, 34%)
HSVhsv(237, 62%, 50%)
CMYKcmyk(62.2%, 59.1%, 0%, 50.2%)
CIE-LABlab(25.61, 22.73, -43.13)
CIE-LCHlch(25.61, 48.76, 297.79°)
OKLaboklab(36.78% 0.0132 -0.1239)
OKLCHoklch(36.78% 0.125 276.1)
XYZxyz(6.2764, 4.6162, 20.6348)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30347F #7F7B30
analogous
#305C7F #30347F #54307F
triadic
#30347F #7F3034 #347F30
tetradic
#30347F #7F305C #7F7B30 #307F54
square
#30347F #7F305C #7F7B30 #307F54
split-complementary
#30347F #7F5430 #5C7F30
monochromatic
#0E1026 #1F2253 #30347F #4146AB #656AC5

Accessibility & contrast

On white

10.92
#30347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#30347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30347F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30347F#FFFFFF#000000##FFFFFF
##30347F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30347f;
/* rgb */ color: rgb(48, 52, 127);
/* oklch */ color: oklch(36.8% 0.125 276.1);
Tailwind
colors: {
  custom: {
    50: '#716ba5',
    500: '#30347f',
    950: '#000000',
  },
}
SCSS
$custom: #30347f;
$custom-light: #716ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#30347f",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 236.962,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36777,
    "c": 0.12456,
    "h": 276.1
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#30347F
secondary
#ACA85F
accent
#CE53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #30347F

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

Preview Lab → · Contrast checker → · Palette generator →

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