#0F0F43#0F0F43

#0F0F43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.095 H 274.7°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#0F0F43
RGBrgb(15, 15, 67)
HSLhsl(240, 63%, 16%)
HSVhsv(240, 78%, 26%)
CMYKcmyk(77.6%, 77.6%, 0%, 73.7%)
CIE-LABlab(7.66, 20.00, -32.68)
CIE-LCHlch(7.66, 38.32, 301.47°)
OKLaboklab(21.23% 0.0078 -0.0945)
OKLCHoklch(21.23% 0.095 274.7)
XYZxyz(1.3806, 0.8483, 5.4001)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F43 #43430F
analogous
#0F2943 #0F0F43 #290F43
triadic
#0F0F43 #430F0F #0F430F
tetradic
#0F0F43 #430F29 #43430F #0F4329
square
#0F0F43 #430F29 #43430F #0F4329
split-complementary
#0F0F43 #43290F #29430F
monochromatic
#060619 #060619 #0F0F43 #1A1A75 #2525A7

Accessibility & contrast

On white

17.95
#0F0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F0F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F43
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F43#FFFFFF#000000##FFFFFF
##0F0F431.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001442
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0f43;
/* rgb */ color: rgb(15, 15, 67);
/* oklch */ color: oklch(21.2% 0.095 274.7);
Tailwind
colors: {
  custom: {
    50: '#564d78',
    500: '#0f0f43',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f43;
$custom-light: #564d78;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f43",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 240,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21232,
    "c": 0.09478,
    "h": 274.7
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#0F0F43
secondary
#7D7D30
accent
#E641E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0F0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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