#0F2C40#0F2C40

#0F2C40 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.051 H 241.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#0F2C40
RGBrgb(15, 44, 64)
HSLhsl(204, 62%, 15%)
HSVhsv(204, 77%, 25%)
CMYKcmyk(76.6%, 31.2%, 0%, 74.9%)
CIE-LABlab(16.86, -3.07, -15.82)
CIE-LCHlch(16.86, 16.12, 259.01°)
OKLaboklab(28.17% -0.0239 -0.0446)
OKLCHoklch(28.17% 0.051 241.8)
XYZxyz(2.0227, 2.2729, 5.1816)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C40 #40230F
analogous
#0F403B #0F2C40 #0F1340
triadic
#0F2C40 #400F2C #2C400F
tetradic
#0F2C40 #3B0F40 #40230F #13400F
square
#0F2C40 #3B0F40 #40230F #13400F
split-complementary
#0F2C40 #400F13 #403B0F
monochromatic
#061119 #061119 #0F2C40 #1B4E72 #2670A3

Accessibility & contrast

On white

14.44
#0F2C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C40
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C40#FFFFFF#000000##FFFFFF
##0F2C401.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#1C2740
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2c40;
/* rgb */ color: rgb(15, 44, 64);
/* oklch */ color: oklch(28.2% 0.051 241.8);
Tailwind
colors: {
  custom: {
    50: '#546475',
    500: '#0f2c40',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c40;
$custom-light: #546475;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c40",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 204.49,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28172,
    "c": 0.0506,
    "h": 241.8
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#0F2C40
secondary
#7A4F30
accent
#8543E5
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0F2C40

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

Preview Lab → · Contrast checker → · Palette generator →

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