#030741#030741

#030741 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.106 H 267.0°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#030741
RGBrgb(3, 7, 65)
HSLhsl(236, 91%, 13%)
HSVhsv(236, 95%, 25%)
CMYKcmyk(95.4%, 89.2%, 0%, 74.5%)
CIE-LABlab(4.99, 21.48, -35.66)
CIE-LCHlch(4.99, 41.63, 301.06°)
OKLaboklab(18.68% -0.0055 -0.1058)
OKLCHoklch(18.68% 0.106 267)
XYZxyz(1.0673, 0.5528, 5.0505)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030741 #413D03
analogous
#032641 #030741 #1E0341
triadic
#030741 #410307 #074103
tetradic
#030741 #410326 #413D03 #03411E
square
#030741 #410326 #413D03 #03411E
split-complementary
#030741 #411E03 #264103
monochromatic
#01031D #01031D #030741 #060D7B #0814B6

Accessibility & contrast

On white

18.91
#030741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#030741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030741
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030741#FFFFFF#000000##FFFFFF
##0307411.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#000D40
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #030741;
/* rgb */ color: rgb(3, 7, 65);
/* oklch */ color: oklch(18.7% 0.106 267.0);
Tailwind
colors: {
  custom: {
    50: '#514876',
    500: '#030741',
    950: '#000000',
  },
}
SCSS
$custom: #030741;
$custom-light: #514876;
$custom-dark: #000000;
JSON
{
  "hex": "#030741",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 236.129,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.1868,
    "c": 0.10592,
    "h": 267
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#030741
secondary
#837C1D
accent
#F129FF
background
#F4F4F7
surface
#E8E6ED
border
#C4C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #030741

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

Preview Lab → · Contrast checker → · Palette generator →

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