#0F0935#0F0935

#0F0935 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.082 H 281.1°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#0F0935
RGBrgb(15, 9, 53)
HSLhsl(248, 71%, 12%)
HSVhsv(248, 83%, 21%)
CMYKcmyk(71.7%, 83%, 0%, 79.2%)
CIE-LABlab(5.00, 16.68, -26.92)
CIE-LCHlch(5.00, 31.67, 301.79°)
OKLaboklab(18.5% 0.0157 -0.08)
OKLCHoklch(18.5% 0.082 281.1)
XYZxyz(0.9371, 0.5539, 3.4250)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0935 #2F3509
analogous
#091935 #0F0935 #250935
triadic
#0F0935 #350F09 #09350F
tetradic
#0F0935 #350919 #2F3509 #093525
square
#0F0935 #350919 #2F3509 #093525
split-complementary
#0F0935 #352509 #193509
monochromatic
#07041A #07041A #0F0935 #1E1269 #2D1B9E

Accessibility & contrast

On white

18.91
#0F0935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0F0935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0F0935#FFFFFF#000000##FFFFFF
##0F09351.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)
#001236
Deuteranopia (green-blind)
#000F34
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0935;
/* rgb */ color: rgb(15, 9, 53);
/* oklch */ color: oklch(18.5% 0.082 281.1);
Tailwind
colors: {
  custom: {
    50: '#524a6d',
    500: '#0f0935',
    950: '#000000',
  },
}
SCSS
$custom: #0f0935;
$custom-light: #524a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0935",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 248.182,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18502,
    "c": 0.0815,
    "h": 281.1
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#0F0935
secondary
#697327
accent
#EE3AD5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0F0935

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

Preview Lab → · Contrast checker → · Palette generator →

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