#0F1843#0F1843

#0F1843 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.082 H 269.9°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#0F1843
RGBrgb(15, 24, 67)
HSLhsl(230, 63%, 16%)
HSVhsv(230, 78%, 26%)
CMYKcmyk(77.6%, 64.2%, 0%, 73.7%)
CIE-LABlab(10.26, 13.24, -28.44)
CIE-LCHlch(10.26, 31.37, 294.96°)
OKLaboklab(23.14% -0.0002 -0.0819)
OKLCHoklch(23.14% 0.082 269.9)
XYZxyz(1.5364, 1.1599, 5.4520)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1843 #433A0F
analogous
#0F3243 #0F1843 #200F43
triadic
#0F1843 #430F18 #18430F
tetradic
#0F1843 #430F32 #433A0F #0F4320
square
#0F1843 #430F32 #433A0F #0F4320
split-complementary
#0F1843 #43200F #32430F
monochromatic
#060919 #060919 #0F1843 #1A2A75 #253CA7

Accessibility & contrast

On white

17.05
#0F1843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F1843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1843
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1843#FFFFFF#000000##FFFFFF
##0F18431.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#001A42
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1843;
/* rgb */ color: rgb(15, 24, 67);
/* oklch */ color: oklch(23.1% 0.082 269.9);
Tailwind
colors: {
  custom: {
    50: '#555477',
    500: '#0f1843',
    950: '#000000',
  },
}
SCSS
$custom: #0f1843;
$custom-light: #555477;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1843",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 229.615,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23143,
    "c": 0.08192,
    "h": 269.9
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#0F1843
secondary
#7D7030
accent
#CA41E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1843

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

Preview Lab → · Contrast checker → · Palette generator →

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