#030438#030438

#030438 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.098 H 268.2°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#030438
RGBrgb(3, 4, 56)
HSLhsl(239, 90%, 12%)
HSVhsv(239, 95%, 22%)
CMYKcmyk(94.6%, 92.9%, 0%, 78%)
CIE-LABlab(3.54, 17.30, -31.53)
CIE-LCHlch(3.54, 35.96, 298.75°)
OKLaboklab(16.74% -0.003 -0.0976)
OKLCHoklch(16.74% 0.098 268.2)
XYZxyz(0.7945, 0.3916, 3.7743)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030438 #383703
analogous
#031F38 #030438 #1D0338
triadic
#030438 #380304 #043803
tetradic
#030438 #38031F #383703 #03381D
square
#030438 #38031F #383703 #03381D
split-complementary
#030438 #381D03 #1F3803
monochromatic
#02021D #02021D #030438 #060872 #090CAC

Accessibility & contrast

On white

19.47
#030438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#030438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030438
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030438#FFFFFF#000000##FFFFFF
##0304381.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001039
Deuteranopia (green-blind)
#000A37
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #030438;
/* rgb */ color: rgb(3, 4, 56);
/* oklch */ color: oklch(16.7% 0.098 268.2);
Tailwind
colors: {
  custom: {
    50: '#4d486f',
    500: '#030438',
    950: '#000000',
  },
}
SCSS
$custom: #030438;
$custom-light: #4d486f;
$custom-dark: #000000;
JSON
{
  "hex": "#030438",
  "rgb": {
    "r": 3,
    "g": 4,
    "b": 56
  },
  "hsl": {
    "h": 238.868,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.16744,
    "c": 0.09761,
    "h": 268.2
  },
  "luminance": 0.00392
}

Semantic roles & 50–950 ramp

primary
#030438
secondary
#7B791C
accent
#FB29FF
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #030438

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

Preview Lab → · Contrast checker → · Palette generator →

#030438 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva