#0F395D#0F395D

#0F395D is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.6% C 0.078 H 248.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#0F395D
RGBrgb(15, 57, 93)
HSLhsl(208, 72%, 21%)
HSVhsv(208, 84%, 36%)
CMYKcmyk(83.9%, 38.7%, 0%, 63.5%)
CIE-LABlab(23.06, 0.10, -25.52)
CIE-LCHlch(23.06, 25.52, 270.23°)
OKLaboklab(33.61% -0.0285 -0.0727)
OKLCHoklch(33.61% 0.078 248.6)
XYZxyz(3.6352, 3.8177, 10.8991)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F395D #5D330F
analogous
#0F5D5A #0F395D #0F125D
triadic
#0F395D #5D0F39 #395D0F
tetradic
#0F395D #5A0F5D #5D330F #125D0F
square
#0F395D #5A0F5D #5D330F #125D0F
split-complementary
#0F395D #5D0F12 #5D5A0F
monochromatic
#04101A #061928 #0F395D #175992 #207AC6

Accessibility & contrast

On white

11.91
#0F395D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F395D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F395D#FFFFFF#000000##FFFFFF
##0F395D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B5E
Deuteranopia (green-blind)
#1D345C
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f395d;
/* rgb */ color: rgb(15, 57, 93);
/* oklch */ color: oklch(33.6% 0.078 248.6);
Tailwind
colors: {
  custom: {
    50: '#5b6f8b',
    500: '#0f395d',
    950: '#000000',
  },
}
SCSS
$custom: #0f395d;
$custom-light: #5b6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f395d",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 93
  },
  "hsl": {
    "h": 207.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33611,
    "c": 0.07804,
    "h": 248.6
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#0F395D
secondary
#966031
accent
#8D39EF
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #0F395D

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

Preview Lab → · Contrast checker → · Palette generator →

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