#0F2F45#0F2F45

#0F2F45 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.055 H 242.1°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#0F2F45
RGBrgb(15, 47, 69)
HSLhsl(204, 64%, 16%)
HSVhsv(204, 78%, 27%)
CMYKcmyk(78.3%, 31.9%, 0%, 72.9%)
CIE-LABlab(18.21, -3.08, -17.15)
CIE-LCHlch(18.21, 17.42, 259.81°)
OKLaboklab(29.33% -0.0256 -0.0484)
OKLCHoklch(29.33% 0.055 242.1)
XYZxyz(2.2873, 2.5640, 6.0034)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F45 #45250F
analogous
#0F4540 #0F2F45 #0F1445
triadic
#0F2F45 #450F2F #2F450F
tetradic
#0F2F45 #400F45 #45250F #14450F
square
#0F2F45 #400F45 #45250F #14450F
split-complementary
#0F2F45 #450F14 #45400F
monochromatic
#051119 #051119 #0F2F45 #1A5177 #2573AA

Accessibility & contrast

On white

13.88
#0F2F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F45
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F45#FFFFFF#000000##FFFFFF
##0F2F451.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252F46
Deuteranopia (green-blind)
#1E2A45
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2f45;
/* rgb */ color: rgb(15, 47, 69);
/* oklch */ color: oklch(29.3% 0.055 242.1);
Tailwind
colors: {
  custom: {
    50: '#556778',
    500: '#0f2f45',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f45;
$custom-light: #556778;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f45",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 204.444,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29329,
    "c": 0.05477,
    "h": 242.1
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#0F2F45
secondary
#7F5130
accent
#8441E7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0F2F45

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

Preview Lab → · Contrast checker → · Palette generator →

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