#0F2847#0F2847

#0F2847 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.065 H 255.2°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#0F2847
RGBrgb(15, 40, 71)
HSLhsl(213, 65%, 17%)
HSVhsv(213, 79%, 28%)
CMYKcmyk(78.9%, 43.7%, 0%, 72.2%)
CIE-LABlab(15.87, 2.77, -22.20)
CIE-LCHlch(15.87, 22.37, 277.11°)
OKLaboklab(27.53% -0.0167 -0.0633)
OKLCHoklch(27.53% 0.065 255.2)
XYZxyz(2.0927, 2.0738, 6.2500)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2847 #472E0F
analogous
#0F4447 #0F2847 #120F47
triadic
#0F2847 #470F28 #28470F
tetradic
#0F2847 #470F44 #472E0F #0F4712
square
#0F2847 #470F44 #472E0F #0F4712
split-complementary
#0F2847 #47120F #44470F
monochromatic
#050E19 #050E19 #0F2847 #1A447A #2461AC

Accessibility & contrast

On white

14.84
#0F2847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2847
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2847#FFFFFF#000000##FFFFFF
##0F28471.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A48
Deuteranopia (green-blind)
#112546
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2847;
/* rgb */ color: rgb(15, 40, 71);
/* oklch */ color: oklch(27.5% 0.065 255.2);
Tailwind
colors: {
  custom: {
    50: '#56617a',
    500: '#0f2847',
    950: '#000000',
  },
}
SCSS
$custom: #0f2847;
$custom-light: #56617a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2847",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 213.214,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.06545,
    "h": 255.2
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#0F2847
secondary
#815D30
accent
#9D40E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2847

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

Preview Lab → · Contrast checker → · Palette generator →

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