#041230#041230

#041230 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.1% C 0.064 H 261.8°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#041230
RGBrgb(4, 18, 48)
HSLhsl(221, 85%, 10%)
HSVhsv(221, 92%, 19%)
CMYKcmyk(91.7%, 62.5%, 0%, 81.2%)
CIE-LABlab(6.07, 6.61, -21.56)
CIE-LCHlch(6.07, 22.55, 287.03°)
OKLaboklab(19.12% -0.0091 -0.063)
OKLCHoklch(19.12% 0.064 261.8)
XYZxyz(0.7997, 0.6717, 2.8832)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041230 #302204
analogous
#042830 #041230 #0C0430
triadic
#041230 #300412 #123004
tetradic
#041230 #300428 #302204 #04300C
square
#041230 #300428 #302204 #04300C
split-complementary
#041230 #300C04 #283004
monochromatic
#020B1C #020B1C #041230 #092768 #0D3CA1

Accessibility & contrast

On white

18.51
#041230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#041230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041230
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041230#FFFFFF#000000##FFFFFF
##0412301.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021631
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #041230;
/* rgb */ color: rgb(4, 18, 48);
/* oklch */ color: oklch(19.1% 0.064 261.8);
Tailwind
colors: {
  custom: {
    50: '#4b4f68',
    500: '#041230',
    950: '#000000',
  },
}
SCSS
$custom: #041230;
$custom-light: #4b4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#041230",
  "rgb": {
    "r": 4,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 220.909,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19118,
    "c": 0.06367,
    "h": 261.8
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#041230
secondary
#72571D
accent
#B92DFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #041230

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

Preview Lab → · Contrast checker → · Palette generator →

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