#0F2948#0F2948

#0F2948 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.066 H 254.5°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#0F2948
RGBrgb(15, 41, 72)
HSLhsl(213, 66%, 17%)
HSVhsv(213, 79%, 28%)
CMYKcmyk(79.2%, 43.1%, 0%, 71.8%)
CIE-LABlab(16.28, 2.47, -22.23)
CIE-LCHlch(16.28, 22.37, 276.33°)
OKLaboklab(27.88% -0.0176 -0.0633)
OKLCHoklch(27.88% 0.066 254.5)
XYZxyz(2.1592, 2.1551, 6.4318)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2948 #482E0F
analogous
#0F4648 #0F2948 #120F48
triadic
#0F2948 #480F29 #29480F
tetradic
#0F2948 #480F46 #482E0F #0F4812
square
#0F2948 #480F46 #482E0F #0F4812
split-complementary
#0F2948 #48120F #46480F
monochromatic
#050E19 #050E19 #0F2948 #1A467B #2463AD

Accessibility & contrast

On white

14.68
#0F2948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2948
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2948#FFFFFF#000000##FFFFFF
##0F29481.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B49
Deuteranopia (green-blind)
#122647
Tritanopia (blue-blind)
#003035
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2948;
/* rgb */ color: rgb(15, 41, 72);
/* oklch */ color: oklch(27.9% 0.066 254.5);
Tailwind
colors: {
  custom: {
    50: '#56627b',
    500: '#0f2948',
    950: '#000000',
  },
}
SCSS
$custom: #0f2948;
$custom-light: #56627b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2948",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 212.632,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27875,
    "c": 0.06575,
    "h": 254.5
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#0F2948
secondary
#825D30
accent
#9B3FE8
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2948

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

Preview Lab → · Contrast checker → · Palette generator →

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