#0F2138#0F2138

#0F2138 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.050 H 255.4°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#0F2138
RGBrgb(15, 33, 56)
HSLhsl(214, 58%, 14%)
HSVhsv(214, 73%, 22%)
CMYKcmyk(73.2%, 41.1%, 0%, 78%)
CIE-LABlab(12.45, 1.52, -17.15)
CIE-LCHlch(12.45, 17.22, 275.06°)
OKLaboklab(24.55% -0.0127 -0.0486)
OKLCHoklch(24.55% 0.05 255.4)
XYZxyz(1.4544, 1.4747, 3.9486)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2138 #38260F
analogous
#0F3638 #0F2138 #120F38
triadic
#0F2138 #380F21 #21380F
tetradic
#0F2138 #380F36 #38260F #0F3812
square
#0F2138 #380F36 #38260F #0F3812
split-complementary
#0F2138 #38120F #36380F
monochromatic
#060E18 #060E18 #0F2138 #1C3D68 #295A99

Accessibility & contrast

On white

16.22
#0F2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2138
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2138#FFFFFF#000000##FFFFFF
##0F21381.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172339
Deuteranopia (green-blind)
#121F38
Tritanopia (blue-blind)
#002629
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f2138;
/* rgb */ color: rgb(15, 33, 56);
/* oklch */ color: oklch(24.5% 0.050 255.4);
Tailwind
colors: {
  custom: {
    50: '#525b6e',
    500: '#0f2138',
    950: '#000000',
  },
}
SCSS
$custom: #0f2138;
$custom-light: #525b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2138",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 213.659,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24548,
    "c": 0.05024,
    "h": 255.4
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#0F2138
secondary
#725530
accent
#9D47E1
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0F2138

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

Preview Lab → · Contrast checker → · Palette generator →

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