#0F395E#0F395E

#0F395E is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.7% C 0.079 H 249.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#0F395E
RGBrgb(15, 57, 94)
HSLhsl(208, 72%, 21%)
HSVhsv(208, 84%, 37%)
CMYKcmyk(84%, 39.4%, 0%, 63.1%)
CIE-LABlab(23.12, 0.53, -26.08)
CIE-LCHlch(23.12, 26.08, 271.15°)
OKLaboklab(33.68% -0.0282 -0.0743)
OKLCHoklch(33.68% 0.079 249.2)
XYZxyz(3.6797, 3.8355, 11.1339)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F395E #5E340F
analogous
#0F5E5C #0F395E #0F125E
triadic
#0F395E #5E0F39 #395E0F
tetradic
#0F395E #5C0F5E #5E340F #125E0F
square
#0F395E #5C0F5E #5E340F #125E0F
split-complementary
#0F395E #5E0F12 #5E5C0F
monochromatic
#04101A #071929 #0F395E #175993 #2079C8

Accessibility & contrast

On white

11.88
#0F395E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0F395E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F395E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F395E#FFFFFF#000000##FFFFFF
##0F395E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B60
Deuteranopia (green-blind)
#1C345D
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f395e;
/* rgb */ color: rgb(15, 57, 94);
/* oklch */ color: oklch(33.7% 0.079 249.2);
Tailwind
colors: {
  custom: {
    50: '#5b6f8c',
    500: '#0f395e',
    950: '#000000',
  },
}
SCSS
$custom: #0f395e;
$custom-light: #5b6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f395e",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 94
  },
  "hsl": {
    "h": 208.101,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33678,
    "c": 0.07947,
    "h": 249.2
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#0F395E
secondary
#976131
accent
#8E39EF
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #0F395E

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

Preview Lab → · Contrast checker → · Palette generator →

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