#0F2839#0F2839

#0F2839 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.6% C 0.044 H 240.9°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#0F2839
RGBrgb(15, 40, 57)
HSLhsl(204, 58%, 14%)
HSVhsv(204, 74%, 22%)
CMYKcmyk(73.7%, 29.8%, 0%, 77.6%)
CIE-LABlab(15.03, -3.15, -13.81)
CIE-LCHlch(15.03, 14.16, 257.14°)
OKLaboklab(26.6% -0.0216 -0.0388)
OKLCHoklch(26.6% 0.044 240.9)
XYZxyz(1.6940, 1.9144, 4.1503)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2839 #39200F
analogous
#0F3935 #0F2839 #0F1339
triadic
#0F2839 #390F28 #28390F
tetradic
#0F2839 #350F39 #39200F #13390F
square
#0F2839 #350F39 #39200F #13390F
split-complementary
#0F2839 #390F13 #39350F
monochromatic
#061118 #061118 #0F2839 #1C4A69 #296C9A

Accessibility & contrast

On white

15.18
#0F2839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F2839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2839
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2839#FFFFFF#000000##FFFFFF
##0F28391.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#1B2439
Tritanopia (blue-blind)
#002C2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2839;
/* rgb */ color: rgb(15, 40, 57);
/* oklch */ color: oklch(26.6% 0.044 240.9);
Tailwind
colors: {
  custom: {
    50: '#53616f',
    500: '#0f2839',
    950: '#000000',
  },
}
SCSS
$custom: #0f2839;
$custom-light: #53616f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2839",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 57
  },
  "hsl": {
    "h": 204.286,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26601,
    "c": 0.0444,
    "h": 240.9
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

primary
#0F2839
secondary
#734C30
accent
#8546E2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0F2839

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

Preview Lab → · Contrast checker → · Palette generator →

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