#30345F#30345F

#30345F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.075 H 277.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#30345F
RGBrgb(48, 52, 95)
HSLhsl(235, 33%, 28%)
HSVhsv(235, 49%, 37%)
CMYKcmyk(49.5%, 45.3%, 0%, 62.7%)
CIE-LABlab(23.37, 11.33, -26.22)
CIE-LCHlch(23.37, 28.56, 293.37°)
OKLaboklab(34.37% 0.01 -0.0742)
OKLCHoklch(34.37% 0.075 277.7)
XYZxyz(4.5118, 3.9103, 11.3413)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30345F #5F5B30
analogous
#304B5F #30345F #43305F
triadic
#30345F #5F3034 #345F30
tetradic
#30345F #5F304B #5F5B30 #305F43
square
#30345F #5F304B #5F5B30 #305F43
split-complementary
#30345F #5F4330 #4B5F30
monochromatic
#0A0B14 #1B1E36 #30345F #454A88 #5D63AD

Accessibility & contrast

On white

11.78
#30345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#30345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30345F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30345F#FFFFFF#000000##FFFFFF
##30345F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A61
Deuteranopia (green-blind)
#20365E
Tritanopia (blue-blind)
#1F3D45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #30345f;
/* rgb */ color: rgb(48, 52, 95);
/* oklch */ color: oklch(34.4% 0.075 277.7);
Tailwind
colors: {
  custom: {
    50: '#6b6b8c',
    500: '#30345f',
    950: '#000000',
  },
}
SCSS
$custom: #30345f;
$custom-light: #6b6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#30345f",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 234.894,
    "s": 32.867,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34372,
    "c": 0.07483,
    "h": 277.7
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#30345F
secondary
#908C5A
accent
#C05FC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #30345F

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

Preview Lab → · Contrast checker → · Palette generator →

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