#0F3040#0F3040

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

Color values

HEX#0F3040
RGBrgb(15, 48, 64)
HSLhsl(200, 62%, 15%)
HSVhsv(200, 77%, 25%)
CMYKcmyk(76.6%, 25%, 0%, 74.9%)
CIE-LABlab(18.30, -5.81, -13.58)
CIE-LCHlch(18.30, 14.77, 246.85°)
OKLaboklab(29.32% -0.0289 -0.0381)
OKLCHoklch(29.32% 0.048 232.8)
XYZxyz(2.1790, 2.5854, 5.2337)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3040 #401F0F
analogous
#0F4037 #0F3040 #0F1740
triadic
#0F3040 #400F30 #30400F
tetradic
#0F3040 #370F40 #401F0F #17400F
square
#0F3040 #370F40 #401F0F #17400F
split-complementary
#0F3040 #400F17 #40370F
monochromatic
#061319 #061319 #0F3040 #1B5572 #267AA3

Accessibility & contrast

On white

13.84
#0F3040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F3040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3040
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3040#FFFFFF#000000##FFFFFF
##0F30401.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F41
Deuteranopia (green-blind)
#212A40
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f3040;
/* rgb */ color: rgb(15, 48, 64);
/* oklch */ color: oklch(29.3% 0.048 232.8);
Tailwind
colors: {
  custom: {
    50: '#546874',
    500: '#0f3040',
    950: '#000000',
  },
}
SCSS
$custom: #0f3040;
$custom-light: #546874;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3040",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 199.592,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.29317,
    "c": 0.0478,
    "h": 232.8
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#0F3040
secondary
#7A4930
accent
#7843E5
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0F3040

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

Preview Lab → · Contrast checker → · Palette generator →

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