#0F273A#0F273A

#0F273A is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.4% C 0.047 H 244.8°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#0F273A
RGBrgb(15, 39, 58)
HSLhsl(207, 59%, 14%)
HSVhsv(207, 74%, 23%)
CMYKcmyk(74.1%, 32.8%, 0%, 77.3%)
CIE-LABlab(14.72, -2.03, -14.99)
CIE-LCHlch(14.72, 15.13, 262.30°)
OKLaboklab(26.38% -0.0198 -0.0422)
OKLCHoklch(26.38% 0.047 244.8)
XYZxyz(1.6860, 1.8579, 4.2719)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F273A #3A220F
analogous
#0F3A38 #0F273A #0F123A
triadic
#0F273A #3A0F27 #273A0F
tetradic
#0F273A #380F3A #3A220F #123A0F
square
#0F273A #380F3A #3A220F #123A0F
split-complementary
#0F273A #3A0F12 #3A380F
monochromatic
#061018 #061018 #0F273A #1C486B #28689B

Accessibility & contrast

On white

15.31
#0F273A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F273A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F273A
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F273A#FFFFFF#000000##FFFFFF
##0F273A1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F273B
Deuteranopia (green-blind)
#19233A
Tritanopia (blue-blind)
#002C2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f273a;
/* rgb */ color: rgb(15, 39, 58);
/* oklch */ color: oklch(26.4% 0.047 244.8);
Tailwind
colors: {
  custom: {
    50: '#536070',
    500: '#0f273a',
    950: '#000000',
  },
}
SCSS
$custom: #0f273a;
$custom-light: #536070;
$custom-dark: #000000;
JSON
{
  "hex": "#0f273a",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 58
  },
  "hsl": {
    "h": 206.512,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26375,
    "c": 0.04667,
    "h": 244.8
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#0F273A
secondary
#744E30
accent
#8B46E2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0F273A

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

Preview Lab → · Contrast checker → · Palette generator →

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