#030239#030239

#030239 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.102 H 268.4°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#030239
RGBrgb(3, 2, 57)
HSLhsl(241, 93%, 12%)
HSVhsv(241, 96%, 22%)
CMYKcmyk(94.7%, 96.5%, 0%, 77.6%)
CIE-LABlab(3.23, 18.73, -32.75)
CIE-LCHlch(3.23, 37.72, 299.76°)
OKLaboklab(16.42% -0.0028 -0.1021)
OKLCHoklch(16.42% 0.102 268.4)
XYZxyz(0.7975, 0.3581, 3.8972)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030239 #383902
analogous
#021D39 #030239 #1F0239
triadic
#030239 #390302 #023903
tetradic
#030239 #39021D #383902 #02391F
square
#030239 #39021D #383902 #02391F
split-complementary
#030239 #391F02 #1D3902
monochromatic
#02011E #02011E #030239 #060474 #0906AF

Accessibility & contrast

On white

19.60
#030239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#030239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030239
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030239#FFFFFF#000000##FFFFFF
##0302391.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F3A
Deuteranopia (green-blind)
#000938
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #030239;
/* rgb */ color: rgb(3, 2, 57);
/* oklch */ color: oklch(16.4% 0.102 268.4);
Tailwind
colors: {
  custom: {
    50: '#4d4770',
    500: '#030239',
    950: '#000000',
  },
}
SCSS
$custom: #030239;
$custom-light: #4d4770;
$custom-dark: #000000;
JSON
{
  "hex": "#030239",
  "rgb": {
    "r": 3,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 241.091,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.16419,
    "c": 0.10218,
    "h": 268.4
  },
  "luminance": 0.00358
}

Semantic roles & 50–950 ramp

primary
#030239
secondary
#7B7D1A
accent
#FF29FB
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #030239

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

Preview Lab → · Contrast checker → · Palette generator →

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