#0F2846#0F2846

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

Color values

HEX#0F2846
RGBrgb(15, 40, 70)
HSLhsl(213, 65%, 17%)
HSVhsv(213, 79%, 27%)
CMYKcmyk(78.6%, 42.9%, 0%, 72.5%)
CIE-LABlab(15.80, 2.34, -21.62)
CIE-LCHlch(15.80, 21.74, 276.17°)
OKLaboklab(27.46% -0.017 -0.0616)
OKLCHoklch(27.46% 0.064 254.5)
XYZxyz(2.0609, 2.0611, 6.0824)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2846 #462D0F
analogous
#0F4446 #0F2846 #120F46
triadic
#0F2846 #460F28 #28460F
tetradic
#0F2846 #460F44 #462D0F #0F4612
square
#0F2846 #460F44 #462D0F #0F4612
split-complementary
#0F2846 #46120F #44460F
monochromatic
#050E19 #050E19 #0F2846 #1A4578 #2562AB

Accessibility & contrast

On white

14.87
#0F2846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2846
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2846#FFFFFF#000000##FFFFFF
##0F28461.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A47
Deuteranopia (green-blind)
#122545
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2846;
/* rgb */ color: rgb(15, 40, 70);
/* oklch */ color: oklch(27.5% 0.064 254.5);
Tailwind
colors: {
  custom: {
    50: '#556179',
    500: '#0f2846',
    950: '#000000',
  },
}
SCSS
$custom: #0f2846;
$custom-light: #556179;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2846",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 212.727,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27462,
    "c": 0.06387,
    "h": 254.5
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#0F2846
secondary
#805C30
accent
#9C40E8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2846

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

Preview Lab → · Contrast checker → · Palette generator →

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