#0A143C#0A143C

#0A143C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.078 H 268.2°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#0A143C
RGBrgb(10, 20, 60)
HSLhsl(228, 71%, 14%)
HSVhsv(228, 83%, 24%)
CMYKcmyk(83.3%, 66.7%, 0%, 76.5%)
CIE-LABlab(8.05, 12.47, -27.08)
CIE-LCHlch(8.05, 29.82, 294.72°)
OKLaboklab(21.2% -0.0024 -0.0781)
OKLCHoklch(21.2% 0.078 268.2)
XYZxyz(1.1907, 0.8910, 4.3833)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A143C #3C320A
analogous
#0A2D3C #0A143C #190A3C
triadic
#0A143C #3C0A14 #143C0A
tetradic
#0A143C #3C0A2D #3C320A #0A3C19
square
#0A143C #3C0A2D #3C320A #0A3C19
split-complementary
#0A143C #3C190A #2D3C0A
monochromatic
#04091A #04091A #0A143C #132570 #1B37A5

Accessibility & contrast

On white

17.82
#0A143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0A143C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A143C
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A143C#FFFFFF#000000##FFFFFF
##0A143C1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a143c;
/* rgb */ color: rgb(10, 20, 60);
/* oklch */ color: oklch(21.2% 0.078 268.2);
Tailwind
colors: {
  custom: {
    50: '#525172',
    500: '#0a143c',
    950: '#000000',
  },
}
SCSS
$custom: #0a143c;
$custom-light: #525172;
$custom-dark: #000000;
JSON
{
  "hex": "#0a143c",
  "rgb": {
    "r": 10,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 228,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21204,
    "c": 0.07816,
    "h": 268.2
  },
  "luminance": 0.00891
}

Semantic roles & 50–950 ramp

primary
#0A143C
secondary
#796928
accent
#CA3AEE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0A143C

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

Preview Lab → · Contrast checker → · Palette generator →

#0A143C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva