#0F395A#0F395A

#0F395A is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.4% C 0.074 H 246.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#0F395A
RGBrgb(15, 57, 90)
HSLhsl(206, 71%, 21%)
HSVhsv(206, 83%, 35%)
CMYKcmyk(83.3%, 36.7%, 0%, 64.7%)
CIE-LABlab(22.88, -1.17, -23.84)
CIE-LCHlch(22.88, 23.86, 267.20°)
OKLaboklab(33.41% -0.0294 -0.0677)
OKLCHoklch(33.41% 0.074 246.5)
XYZxyz(3.5049, 3.7656, 10.2130)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F395A #5A300F
analogous
#0F5A55 #0F395A #0F135A
triadic
#0F395A #5A0F39 #395A0F
tetradic
#0F395A #550F5A #5A300F #135A0F
square
#0F395A #550F5A #5A300F #135A0F
split-complementary
#0F395A #5A0F13 #5A550F
monochromatic
#04111A #061826 #0F395A #185A8E #207BC3

Accessibility & contrast

On white

11.98
#0F395A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0F395A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F395A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F395A#FFFFFF#000000##FFFFFF
##0F395A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5B
Deuteranopia (green-blind)
#1F3359
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f395a;
/* rgb */ color: rgb(15, 57, 90);
/* oklch */ color: oklch(33.4% 0.074 246.5);
Tailwind
colors: {
  custom: {
    50: '#5a6f89',
    500: '#0f395a',
    950: '#000000',
  },
}
SCSS
$custom: #0f395a;
$custom-light: #5a6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f395a",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 90
  },
  "hsl": {
    "h": 206.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33412,
    "c": 0.07386,
    "h": 246.5
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#0F395A
secondary
#945C31
accent
#893AEE
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F395A

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

Preview Lab → · Contrast checker → · Palette generator →

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