#30459B#30459B

#30459B is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.142 H 269.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#30459B
RGBrgb(48, 69, 155)
HSLhsl(228, 53%, 40%)
HSVhsv(228, 69%, 61%)
CMYKcmyk(69%, 55.5%, 0%, 39.2%)
CIE-LABlab(32.37, 21.59, -49.46)
CIE-LCHlch(32.37, 53.97, 293.58°)
OKLaboklab(42.51% -0.0021 -0.1422)
OKLCHoklch(42.51% 0.142 269.2)
XYZxyz(9.2614, 7.2503, 31.9154)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30459B #9B8630
analogous
#307B9B #30459B #50309B
triadic
#30459B #9B3045 #459B30
tetradic
#30459B #9B307B #9B8630 #309B50
square
#30459B #9B307B #9B8630 #309B50
split-complementary
#30459B #9B5030 #7B9B30
monochromatic
#131B3E #22306C #30459B #435DC5 #7285D3

Accessibility & contrast

On white

8.57
#30459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#30459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30459B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30459B#FFFFFF#000000##FFFFFF
##30459B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30459b;
/* rgb */ color: rgb(48, 69, 155);
/* oklch */ color: oklch(42.5% 0.142 269.2);
Tailwind
colors: {
  custom: {
    50: '#7678b9',
    500: '#30459b',
    950: '#000000',
  },
}
SCSS
$custom: #30459b;
$custom-light: #7678b9;
$custom-dark: #000000;
JSON
{
  "hex": "#30459b",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 228.224,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.14227,
    "h": 269.2
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#30459B
secondary
#BBAC6C
accent
#C04CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #30459B

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

Preview Lab → · Contrast checker → · Palette generator →

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