#0F2946#0F2946

#0F2946 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.7% C 0.063 H 253.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0F2946
RGBrgb(15, 41, 70)
HSLhsl(212, 65%, 17%)
HSVhsv(212, 79%, 27%)
CMYKcmyk(78.6%, 41.4%, 0%, 72.5%)
CIE-LABlab(16.15, 1.60, -21.07)
CIE-LCHlch(16.15, 21.13, 274.35°)
OKLaboklab(27.73% -0.0182 -0.0599)
OKLCHoklch(27.73% 0.063 253.1)
XYZxyz(2.0950, 2.1294, 6.0938)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2946 #462C0F
analogous
#0F4546 #0F2946 #100F46
triadic
#0F2946 #460F29 #29460F
tetradic
#0F2946 #460F45 #462C0F #0F4610
square
#0F2946 #460F45 #462C0F #0F4610
split-complementary
#0F2946 #46100F #45460F
monochromatic
#050F19 #050F19 #0F2946 #1A4778 #2564AB

Accessibility & contrast

On white

14.73
#0F2946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2946
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2946#FFFFFF#000000##FFFFFF
##0F29461.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B47
Deuteranopia (green-blind)
#142645
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2946;
/* rgb */ color: rgb(15, 41, 70);
/* oklch */ color: oklch(27.7% 0.063 253.1);
Tailwind
colors: {
  custom: {
    50: '#556279',
    500: '#0f2946',
    950: '#000000',
  },
}
SCSS
$custom: #0f2946;
$custom-light: #556279;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2946",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 70
  },
  "hsl": {
    "h": 211.636,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27733,
    "c": 0.06263,
    "h": 253.1
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#0F2946
secondary
#805B30
accent
#9840E8
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2946

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

Preview Lab → · Contrast checker → · Palette generator →

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