#0F2840#0F2840

#0F2840 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.055 H 249.7°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#0F2840
RGBrgb(15, 40, 64)
HSLhsl(209, 62%, 15%)
HSVhsv(209, 77%, 25%)
CMYKcmyk(76.6%, 37.5%, 0%, 74.9%)
CIE-LABlab(15.43, -0.23, -18.07)
CIE-LCHlch(15.43, 18.07, 269.27°)
OKLaboklab(27.05% -0.0189 -0.0512)
OKLCHoklch(27.05% 0.055 249.7)
XYZxyz(1.8809, 1.9891, 5.1343)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2840 #40270F
analogous
#0F403F #0F2840 #0F0F40
triadic
#0F2840 #400F28 #28400F
tetradic
#0F2840 #3F0F40 #40270F #0F400F
square
#0F2840 #3F0F40 #40270F #0F400F
split-complementary
#0F2840 #400F0F #403F0F
monochromatic
#060F19 #060F19 #0F2840 #1B4772 #2666A3

Accessibility & contrast

On white

15.02
#0F2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F2840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2840
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2840#FFFFFF#000000##FFFFFF
##0F28401.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#172440
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2840;
/* rgb */ color: rgb(15, 40, 64);
/* oklch */ color: oklch(27.0% 0.055 249.7);
Tailwind
colors: {
  custom: {
    50: '#546175',
    500: '#0f2840',
    950: '#000000',
  },
}
SCSS
$custom: #0f2840;
$custom-light: #546175;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2840",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 209.388,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27046,
    "c": 0.05456,
    "h": 249.7
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#0F2840
secondary
#7A5530
accent
#9243E5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0F2840

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

Preview Lab → · Contrast checker → · Palette generator →

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