#0F1740#0F1740

#0F1740 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.078 H 270.5°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#0F1740
RGBrgb(15, 23, 64)
HSLhsl(230, 62%, 15%)
HSVhsv(230, 77%, 25%)
CMYKcmyk(76.6%, 64.1%, 0%, 74.9%)
CIE-LABlab(9.68, 12.72, -27.27)
CIE-LCHlch(9.68, 30.09, 295.00°)
OKLaboklab(22.62% 0.0007 -0.0785)
OKLCHoklch(22.62% 0.078 270.5)
XYZxyz(1.4285, 1.0844, 4.9835)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1740 #40380F
analogous
#0F2F40 #0F1740 #1F0F40
triadic
#0F1740 #400F17 #17400F
tetradic
#0F1740 #400F2F #40380F #0F401F
square
#0F1740 #400F2F #40380F #0F401F
split-complementary
#0F1740 #401F0F #2F400F
monochromatic
#060919 #060919 #0F1740 #1B2972 #263BA3

Accessibility & contrast

On white

17.26
#0F1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0F1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1740
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1740#FFFFFF#000000##FFFFFF
##0F17401.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1740;
/* rgb */ color: rgb(15, 23, 64);
/* oklch */ color: oklch(22.6% 0.078 270.5);
Tailwind
colors: {
  custom: {
    50: '#555375',
    500: '#0f1740',
    950: '#000000',
  },
}
SCSS
$custom: #0f1740;
$custom-light: #555375;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1740",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 230.204,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22621,
    "c": 0.07849,
    "h": 270.5
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#0F1740
secondary
#7A6E30
accent
#CB43E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F1740

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

Preview Lab → · Contrast checker → · Palette generator →

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