#0F0E40#0F0E40

#0F0E40 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.092 H 275.7°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#0F0E40
RGBrgb(15, 14, 64)
HSLhsl(241, 64%, 15%)
HSVhsv(241, 78%, 25%)
CMYKcmyk(76.6%, 78.1%, 0%, 74.9%)
CIE-LABlab(7.10, 19.37, -31.48)
CIE-LCHlch(7.10, 36.96, 301.61°)
OKLaboklab(20.7% 0.0091 -0.0911)
OKLCHoklch(20.7% 0.092 275.7)
XYZxyz(1.2791, 0.7857, 4.9337)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E40 #3F400E
analogous
#0E2640 #0F0E40 #280E40
triadic
#0F0E40 #400F0E #0E400F
tetradic
#0F0E40 #400E26 #3F400E #0E4028
square
#0F0E40 #400E26 #3F400E #0E4028
split-complementary
#0F0E40 #40280E #26400E
monochromatic
#060519 #060519 #0F0E40 #1B1972 #2724A4

Accessibility & contrast

On white

18.15
#0F0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F0E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0E40
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E40#FFFFFF#000000##FFFFFF
##0F0E401.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0e40;
/* rgb */ color: rgb(15, 14, 64);
/* oklch */ color: oklch(20.7% 0.092 275.7);
Tailwind
colors: {
  custom: {
    50: '#564c75',
    500: '#0f0e40',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e40;
$custom-light: #564c75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e40",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 241.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20699,
    "c": 0.09155,
    "h": 275.7
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#0F0E40
secondary
#797B2F
accent
#E741E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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