#0F1243#0F1243

#0F1243 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.091 H 273.4°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#0F1243
RGBrgb(15, 18, 67)
HSLhsl(237, 63%, 16%)
HSVhsv(237, 78%, 26%)
CMYKcmyk(77.6%, 73.1%, 0%, 73.7%)
CIE-LABlab(8.48, 17.83, -31.35)
CIE-LCHlch(8.48, 36.06, 299.62°)
OKLaboklab(21.82% 0.0054 -0.0905)
OKLCHoklch(21.82% 0.091 273.4)
XYZxyz(1.4261, 0.9393, 5.4152)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1243 #43400F
analogous
#0F2C43 #0F1243 #260F43
triadic
#0F1243 #430F12 #12430F
tetradic
#0F1243 #430F2C #43400F #0F4326
square
#0F1243 #430F2C #43400F #0F4326
split-complementary
#0F1243 #43260F #2C430F
monochromatic
#060719 #060719 #0F1243 #1A1F75 #252DA7

Accessibility & contrast

On white

17.68
#0F1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1243
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1243#FFFFFF#000000##FFFFFF
##0F12431.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#001642
Tritanopia (blue-blind)
#001F28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f1243;
/* rgb */ color: rgb(15, 18, 67);
/* oklch */ color: oklch(21.8% 0.091 273.4);
Tailwind
colors: {
  custom: {
    50: '#564f78',
    500: '#0f1243',
    950: '#000000',
  },
}
SCSS
$custom: #0f1243;
$custom-light: #564f78;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1243",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 236.538,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21824,
    "c": 0.09069,
    "h": 273.4
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#0F1243
secondary
#7D7930
accent
#DD41E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1243

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

Preview Lab → · Contrast checker → · Palette generator →

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