#0F3C5A#0F3C5A

#0F3C5A is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.2% C 0.071 H 242.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#0F3C5A
RGBrgb(15, 60, 90)
HSLhsl(204, 71%, 21%)
HSVhsv(204, 83%, 35%)
CMYKcmyk(83.3%, 33.3%, 0%, 64.7%)
CIE-LABlab(23.90, -3.20, -22.22)
CIE-LCHlch(23.90, 22.45, 261.81°)
OKLaboklab(34.22% -0.0326 -0.063)
OKLCHoklch(34.22% 0.071 242.7)
XYZxyz(3.6576, 4.0710, 10.2639)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3C5A #5A2D0F
analogous
#0F5A52 #0F3C5A #0F165A
triadic
#0F3C5A #5A0F3C #3C5A0F
tetradic
#0F3C5A #520F5A #5A2D0F #165A0F
square
#0F3C5A #520F5A #5A2D0F #165A0F
split-complementary
#0F3C5A #5A0F16 #5A520F
monochromatic
#04111A #061926 #0F3C5A #185F8E #2082C3

Accessibility & contrast

On white

11.58
#0F3C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0F3C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3C5A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3C5A#FFFFFF#000000##FFFFFF
##0F3C5A1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5B
Deuteranopia (green-blind)
#243659
Tritanopia (blue-blind)
#004347
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f3c5a;
/* rgb */ color: rgb(15, 60, 90);
/* oklch */ color: oklch(34.2% 0.071 242.7);
Tailwind
colors: {
  custom: {
    50: '#5b7189',
    500: '#0f3c5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f3c5a;
$custom-light: #5b7189;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3c5a",
  "rgb": {
    "r": 15,
    "g": 60,
    "b": 90
  },
  "hsl": {
    "h": 204,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3422,
    "c": 0.07092,
    "h": 242.7
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#0F3C5A
secondary
#945931
accent
#823AEE
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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