#0F2940#0F2940

#0F2940 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.3% C 0.053 H 247.9°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#0F2940
RGBrgb(15, 41, 64)
HSLhsl(208, 62%, 15%)
HSVhsv(208, 77%, 25%)
CMYKcmyk(76.6%, 35.9%, 0%, 74.9%)
CIE-LABlab(15.79, -0.95, -17.51)
CIE-LCHlch(15.79, 17.53, 266.89°)
OKLaboklab(27.33% -0.0202 -0.0495)
OKLCHoklch(27.33% 0.053 247.9)
XYZxyz(1.9150, 2.0574, 5.1457)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2940 #40260F
analogous
#0F403E #0F2940 #0F1140
triadic
#0F2940 #400F29 #29400F
tetradic
#0F2940 #3E0F40 #40260F #11400F
square
#0F2940 #3E0F40 #40260F #11400F
split-complementary
#0F2940 #400F11 #403E0F
monochromatic
#061019 #061019 #0F2940 #1B4972 #2669A3

Accessibility & contrast

On white

14.88
#0F2940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F2940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2940
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2940#FFFFFF#000000##FFFFFF
##0F29401.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2940;
/* rgb */ color: rgb(15, 41, 64);
/* oklch */ color: oklch(27.3% 0.053 247.9);
Tailwind
colors: {
  custom: {
    50: '#546275',
    500: '#0f2940',
    950: '#000000',
  },
}
SCSS
$custom: #0f2940;
$custom-light: #546275;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2940",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 208.163,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27326,
    "c": 0.05348,
    "h": 247.9
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#0F2940
secondary
#7A5330
accent
#8F43E5
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0F2940

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

Preview Lab → · Contrast checker → · Palette generator →

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