#0F2848#0F2848

#0F2848 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.6% C 0.067 H 255.8°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#0F2848
RGBrgb(15, 40, 72)
HSLhsl(214, 66%, 17%)
HSVhsv(214, 79%, 28%)
CMYKcmyk(79.2%, 44.4%, 0%, 71.8%)
CIE-LABlab(15.94, 3.20, -22.78)
CIE-LCHlch(15.94, 23.01, 278.00°)
OKLaboklab(27.61% -0.0165 -0.065)
OKLCHoklch(27.61% 0.067 255.8)
XYZxyz(2.1251, 2.0868, 6.4204)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2848 #482F0F
analogous
#0F4548 #0F2848 #130F48
triadic
#0F2848 #480F28 #28480F
tetradic
#0F2848 #480F45 #482F0F #0F4813
square
#0F2848 #480F45 #482F0F #0F4813
split-complementary
#0F2848 #48130F #45480F
monochromatic
#050E19 #050E19 #0F2848 #1A447B #2460AD

Accessibility & contrast

On white

14.82
#0F2848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F2848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2848
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2848#FFFFFF#000000##FFFFFF
##0F28481.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192B49
Deuteranopia (green-blind)
#102547
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2848;
/* rgb */ color: rgb(15, 40, 72);
/* oklch */ color: oklch(27.6% 0.067 255.8);
Tailwind
colors: {
  custom: {
    50: '#56617b',
    500: '#0f2848',
    950: '#000000',
  },
}
SCSS
$custom: #0f2848;
$custom-light: #56617b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2848",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 213.684,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27607,
    "c": 0.06703,
    "h": 255.8
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#0F2848
secondary
#825E30
accent
#9E3FE8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2848

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

Preview Lab → · Contrast checker → · Palette generator →

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