#0F355F#0F355F

#0F355F is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.7% C 0.086 H 253.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#0F355F
RGBrgb(15, 53, 95)
HSLhsl(212, 73%, 22%)
HSVhsv(212, 84%, 37%)
CMYKcmyk(84.2%, 44.2%, 0%, 62.7%)
CIE-LABlab(21.85, 3.76, -28.75)
CIE-LCHlch(21.85, 29.00, 277.44°)
OKLaboklab(32.71% -0.0239 -0.0822)
OKLCHoklch(32.71% 0.086 253.8)
XYZxyz(3.5349, 3.4736, 11.3084)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F355F #5F390F
analogous
#0F5D5F #0F355F #110F5F
triadic
#0F355F #5F0F35 #355F0F
tetradic
#0F355F #5F0F5D #5F390F #0F5F11
square
#0F355F #5F0F5D #5F390F #0F5F11
split-complementary
#0F355F #5F110F #5D5F0F
monochromatic
#040F1A #07182A #0F355F #175294 #2070C9

Accessibility & contrast

On white

12.39
#0F355F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0F355F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F355F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F355F#FFFFFF#000000##FFFFFF
##0F355F1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#13315E
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f355f;
/* rgb */ color: rgb(15, 53, 95);
/* oklch */ color: oklch(32.7% 0.086 253.8);
Tailwind
colors: {
  custom: {
    50: '#5c6b8d',
    500: '#0f355f',
    950: '#000000',
  },
}
SCSS
$custom: #0f355f;
$custom-light: #5c6b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f355f",
  "rgb": {
    "r": 15,
    "g": 53,
    "b": 95
  },
  "hsl": {
    "h": 211.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32705,
    "c": 0.08565,
    "h": 253.8
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#0F355F
secondary
#986732
accent
#9838EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F355F

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

Preview Lab → · Contrast checker → · Palette generator →

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