#0F385C#0F385C

#0F385C is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.3% C 0.078 H 249.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#0F385C
RGBrgb(15, 56, 92)
HSLhsl(208, 72%, 21%)
HSVhsv(208, 84%, 36%)
CMYKcmyk(83.7%, 39.1%, 0%, 63.9%)
CIE-LABlab(22.66, 0.37, -25.49)
CIE-LCHlch(22.66, 25.50, 270.83°)
OKLaboklab(33.28% -0.0277 -0.0726)
OKLCHoklch(33.28% 0.078 249.1)
XYZxyz(3.5422, 3.7022, 10.6510)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F385C #5C330F
analogous
#0F5C59 #0F385C #0F115C
triadic
#0F385C #5C0F38 #385C0F
tetradic
#0F385C #590F5C #5C330F #115C0F
square
#0F385C #590F5C #5C330F #115C0F
split-complementary
#0F385C #5C0F11 #5C590F
monochromatic
#04101A #061827 #0F385C #185891 #2078C5

Accessibility & contrast

On white

12.06
#0F385C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#0F385C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F385C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F385C#FFFFFF#000000##FFFFFF
##0F385C1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5D
Deuteranopia (green-blind)
#1C335B
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0f385c;
/* rgb */ color: rgb(15, 56, 92);
/* oklch */ color: oklch(33.3% 0.078 249.1);
Tailwind
colors: {
  custom: {
    50: '#5b6e8a',
    500: '#0f385c',
    950: '#000000',
  },
}
SCSS
$custom: #0f385c;
$custom-light: #5b6e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f385c",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 92
  },
  "hsl": {
    "h": 208.052,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33278,
    "c": 0.07774,
    "h": 249.1
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#0F385C
secondary
#956031
accent
#8E39EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #0F385C

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

Preview Lab → · Contrast checker → · Palette generator →

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