#0F3840#0F3840

#0F3840 is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.6% C 0.046 H 213.1°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#0F3840
RGBrgb(15, 56, 64)
HSLhsl(190, 62%, 15%)
HSVhsv(190, 77%, 25%)
CMYKcmyk(76.6%, 12.5%, 0%, 74.9%)
CIE-LABlab(21.21, -10.96, -9.12)
CIE-LCHlch(21.21, 14.26, 219.75°)
OKLaboklab(31.64% -0.0389 -0.0253)
OKLCHoklch(31.64% 0.046 213.1)
XYZxyz(2.5362, 3.2998, 5.3528)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3840 #40170F
analogous
#0F402F #0F3840 #0F1F40
triadic
#0F3840 #400F38 #38400F
tetradic
#0F3840 #2F0F40 #40170F #1F400F
square
#0F3840 #2F0F40 #40170F #1F400F
split-complementary
#0F3840 #400F1F #402F0F
monochromatic
#061619 #061619 #0F3840 #1B6372 #268FA3

Accessibility & contrast

On white

12.65
#0F3840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0F3840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3840
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3840#FFFFFF#000000##FFFFFF
##0F38401.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#2B3140
Tritanopia (blue-blind)
#003B3A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f3840;
/* rgb */ color: rgb(15, 56, 64);
/* oklch */ color: oklch(31.6% 0.046 213.1);
Tailwind
colors: {
  custom: {
    50: '#556e74',
    500: '#0f3840',
    950: '#000000',
  },
}
SCSS
$custom: #0f3840;
$custom-light: #556e74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3840",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 189.796,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.31644,
    "c": 0.04643,
    "h": 213.1
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#0F3840
secondary
#7A3C30
accent
#5D43E5
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030708
muted
#787A7B

Preview Lab

Preview with #0F3840

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

Preview Lab → · Contrast checker → · Palette generator →

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