#0F2541#0F2541

#0F2541 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.3% C 0.060 H 255.5°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#0F2541
RGBrgb(15, 37, 65)
HSLhsl(214, 63%, 16%)
HSVhsv(214, 77%, 25%)
CMYKcmyk(76.9%, 43.1%, 0%, 74.5%)
CIE-LABlab(14.44, 2.39, -20.33)
CIE-LCHlch(14.44, 20.47, 276.71°)
OKLaboklab(26.29% -0.015 -0.0578)
OKLCHoklch(26.29% 0.06 255.5)
XYZxyz(1.8124, 1.8062, 5.2531)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2541 #412B0F
analogous
#0F3E41 #0F2541 #120F41
triadic
#0F2541 #410F25 #25410F
tetradic
#0F2541 #410F3E #412B0F #0F4112
square
#0F2541 #410F3E #412B0F #0F4112
split-complementary
#0F2541 #41120F #3E410F
monochromatic
#060E19 #060E19 #0F2541 #1A4173 #265EA4

Accessibility & contrast

On white

15.43
#0F2541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F2541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2541
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2541#FFFFFF#000000##FFFFFF
##0F25411.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182742
Deuteranopia (green-blind)
#112240
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f2541;
/* rgb */ color: rgb(15, 37, 65);
/* oklch */ color: oklch(26.3% 0.060 255.5);
Tailwind
colors: {
  custom: {
    50: '#545f76',
    500: '#0f2541',
    950: '#000000',
  },
}
SCSS
$custom: #0f2541;
$custom-light: #545f76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2541",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 213.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26288,
    "c": 0.05975,
    "h": 255.5
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#0F2541
secondary
#7B5A30
accent
#9E42E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0F2541

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

Preview Lab → · Contrast checker → · Palette generator →

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