#0F1043#0F1043

#0F1043 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.093 H 274.3°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#0F1043
RGBrgb(15, 16, 67)
HSLhsl(239, 63%, 16%)
HSVhsv(239, 78%, 26%)
CMYKcmyk(77.6%, 76.1%, 0%, 73.7%)
CIE-LABlab(7.92, 19.30, -32.25)
CIE-LCHlch(7.92, 37.59, 300.89°)
OKLaboklab(21.42% 0.007 -0.0932)
OKLCHoklch(21.42% 0.093 274.3)
XYZxyz(1.3951, 0.8773, 5.4049)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1043 #43420F
analogous
#0F2A43 #0F1043 #280F43
triadic
#0F1043 #430F10 #10430F
tetradic
#0F1043 #430F2A #43420F #0F4328
square
#0F1043 #430F2A #43420F #0F4328
split-complementary
#0F1043 #43280F #2A430F
monochromatic
#060619 #060619 #0F1043 #1A1C75 #2528A7

Accessibility & contrast

On white

17.87
#0F1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1043
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1043#FFFFFF#000000##FFFFFF
##0F10431.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f1043;
/* rgb */ color: rgb(15, 16, 67);
/* oklch */ color: oklch(21.4% 0.093 274.3);
Tailwind
colors: {
  custom: {
    50: '#564e78',
    500: '#0f1043',
    950: '#000000',
  },
}
SCSS
$custom: #0f1043;
$custom-light: #564e78;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1043",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 238.846,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21424,
    "c": 0.09345,
    "h": 274.3
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#0F1043
secondary
#7D7C30
accent
#E341E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0F1043

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

Preview Lab → · Contrast checker → · Palette generator →

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