#0F2641#0F2641

#0F2641 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.6% C 0.058 H 254.0°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#0F2641
RGBrgb(15, 38, 65)
HSLhsl(212, 63%, 16%)
HSVhsv(212, 77%, 25%)
CMYKcmyk(76.9%, 41.5%, 0%, 74.5%)
CIE-LABlab(14.79, 1.65, -19.78)
CIE-LCHlch(14.79, 19.85, 274.78°)
OKLaboklab(26.56% -0.0162 -0.0562)
OKLCHoklch(26.56% 0.058 254)
XYZxyz(1.8439, 1.8692, 5.2636)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2641 #412A0F
analogous
#0F3F41 #0F2641 #110F41
triadic
#0F2641 #410F26 #26410F
tetradic
#0F2641 #410F3F #412A0F #0F4111
square
#0F2641 #410F3F #412A0F #0F4111
split-complementary
#0F2641 #41110F #3F410F
monochromatic
#060F19 #060F19 #0F2641 #1A4373 #2660A4

Accessibility & contrast

On white

15.29
#0F2641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F2641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2641
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2641#FFFFFF#000000##FFFFFF
##0F26411.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2842
Deuteranopia (green-blind)
#132340
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2641;
/* rgb */ color: rgb(15, 38, 65);
/* oklch */ color: oklch(26.6% 0.058 254.0);
Tailwind
colors: {
  custom: {
    50: '#545f76',
    500: '#0f2641',
    950: '#000000',
  },
}
SCSS
$custom: #0f2641;
$custom-light: #545f76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2641",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 65
  },
  "hsl": {
    "h": 212.4,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26562,
    "c": 0.05849,
    "h": 254
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#0F2641
secondary
#7B5930
accent
#9A42E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0F2641

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

Preview Lab → · Contrast checker → · Palette generator →

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