#031230#031230

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

Color values

HEX#031230
RGBrgb(3, 18, 48)
HSLhsl(220, 88%, 10%)
HSVhsv(220, 94%, 19%)
CMYKcmyk(93.8%, 62.5%, 0%, 81.2%)
CIE-LABlab(6.01, 6.34, -21.66)
CIE-LCHlch(6.01, 22.57, 286.32°)
OKLaboklab(19.05% -0.0106 -0.0634)
OKLCHoklch(19.05% 0.064 260.5)
XYZxyz(0.7872, 0.6653, 2.8827)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031230 #302103
analogous
#032830 #031230 #0B0330
triadic
#031230 #300312 #123003
tetradic
#031230 #300328 #302103 #03300B
square
#031230 #300328 #302103 #03300B
split-complementary
#031230 #300B03 #283003
monochromatic
#020B1D #020B1D #031230 #07286A #0A3DA3

Accessibility & contrast

On white

18.53
#031230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031230
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031230#FFFFFF#000000##FFFFFF
##0312301.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031230;
/* rgb */ color: rgb(3, 18, 48);
/* oklch */ color: oklch(19.0% 0.064 260.5);
Tailwind
colors: {
  custom: {
    50: '#4a4f68',
    500: '#031230',
    950: '#000000',
  },
}
SCSS
$custom: #031230;
$custom-light: #4a4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#031230",
  "rgb": {
    "r": 3,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 220,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.19045,
    "c": 0.06426,
    "h": 260.5
  },
  "luminance": 0.00665
}

Semantic roles & 50–950 ramp

primary
#031230
secondary
#73561B
accent
#B729FE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031230

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

Preview Lab → · Contrast checker → · Palette generator →

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