#0F395C#0F395C

#0F395C is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.077 H 248.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#0F395C
RGBrgb(15, 57, 92)
HSLhsl(207, 72%, 21%)
HSVhsv(207, 84%, 36%)
CMYKcmyk(83.7%, 38%, 0%, 63.9%)
CIE-LABlab(23.00, -0.32, -24.96)
CIE-LCHlch(23.00, 24.96, 269.26°)
OKLaboklab(33.54% -0.0288 -0.071)
OKLCHoklch(33.54% 0.077 248)
XYZxyz(3.5912, 3.8001, 10.6674)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F395C #5C320F
analogous
#0F5C58 #0F395C #0F125C
triadic
#0F395C #5C0F39 #395C0F
tetradic
#0F395C #580F5C #5C320F #125C0F
square
#0F395C #580F5C #5C320F #125C0F
split-complementary
#0F395C #5C0F12 #5C580F
monochromatic
#04101A #061827 #0F395C #185A91 #207AC5

Accessibility & contrast

On white

11.93
#0F395C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0F395C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F395C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F395C#FFFFFF#000000##FFFFFF
##0F395C1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5D
Deuteranopia (green-blind)
#1D345B
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f395c;
/* rgb */ color: rgb(15, 57, 92);
/* oklch */ color: oklch(33.5% 0.077 248.0);
Tailwind
colors: {
  custom: {
    50: '#5b6f8a',
    500: '#0f395c',
    950: '#000000',
  },
}
SCSS
$custom: #0f395c;
$custom-light: #5b6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f395c",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 92
  },
  "hsl": {
    "h": 207.273,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33544,
    "c": 0.07664,
    "h": 248
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#0F395C
secondary
#955F31
accent
#8C39EF
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #0F395C

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

Preview Lab → · Contrast checker → · Palette generator →

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