#0F123D#0F123D

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

Color values

HEX#0F123D
RGBrgb(15, 18, 61)
HSLhsl(236, 61%, 15%)
HSVhsv(236, 75%, 24%)
CMYKcmyk(75.4%, 70.5%, 0%, 76.1%)
CIE-LABlab(7.87, 15.31, -28.08)
CIE-LCHlch(7.87, 31.98, 298.60°)
OKLaboklab(21.19% 0.0058 -0.0809)
OKLCHoklch(21.19% 0.081 274.1)
XYZxyz(1.2553, 0.8710, 4.5159)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F123D #3D3A0F
analogous
#0F293D #0F123D #230F3D
triadic
#0F123D #3D0F12 #123D0F
tetradic
#0F123D #3D0F29 #3D3A0F #0F3D23
square
#0F123D #3D0F29 #3D3A0F #0F3D23
split-complementary
#0F123D #3D230F #293D0F
monochromatic
#060719 #060719 #0F123D #1B206E #272F9F

Accessibility & contrast

On white

17.88
#0F123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F123D
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F123D#FFFFFF#000000##FFFFFF
##0F123D1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f123d;
/* rgb */ color: rgb(15, 18, 61);
/* oklch */ color: oklch(21.2% 0.081 274.1);
Tailwind
colors: {
  custom: {
    50: '#544f73',
    500: '#0f123d',
    950: '#000000',
  },
}
SCSS
$custom: #0f123d;
$custom-light: #544f73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f123d",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 236.087,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2119,
    "c": 0.08114,
    "h": 274.1
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#0F123D
secondary
#777330
accent
#D944E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F123D

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

Preview Lab → · Contrast checker → · Palette generator →

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