#0F3F5A#0F3F5A

#0F3F5A is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.0% C 0.068 H 238.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#0F3F5A
RGBrgb(15, 63, 90)
HSLhsl(202, 71%, 21%)
HSVhsv(202, 83%, 35%)
CMYKcmyk(83.3%, 30%, 0%, 64.7%)
CIE-LABlab(24.93, -5.18, -20.60)
CIE-LCHlch(24.93, 21.25, 255.88°)
OKLaboklab(35.04% -0.0358 -0.0582)
OKLCHoklch(35.04% 0.068 238.4)
XYZxyz(3.8192, 4.3943, 10.3178)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3F5A #5A2A0F
analogous
#0F5A4F #0F3F5A #0F195A
triadic
#0F3F5A #5A0F3F #3F5A0F
tetradic
#0F3F5A #4F0F5A #5A2A0F #195A0F
square
#0F3F5A #4F0F5A #5A2A0F #195A0F
split-complementary
#0F3F5A #5A0F19 #5A4F0F
monochromatic
#04121A #061A26 #0F3F5A #18648E #2088C3

Accessibility & contrast

On white

11.18
#0F3F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#0F3F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3F5A
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3F5A#FFFFFF#000000##FFFFFF
##0F3F5A1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F5B
Deuteranopia (green-blind)
#28385A
Tritanopia (blue-blind)
#004648
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f3f5a;
/* rgb */ color: rgb(15, 63, 90);
/* oklch */ color: oklch(35.0% 0.068 238.4);
Tailwind
colors: {
  custom: {
    50: '#5b7388',
    500: '#0f3f5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f3f5a;
$custom-light: #5b7388;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3f5a",
  "rgb": {
    "r": 15,
    "g": 63,
    "b": 90
  },
  "hsl": {
    "h": 201.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.35036,
    "c": 0.06836,
    "h": 238.4
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#0F3F5A
secondary
#945531
accent
#7B3AEE
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F3F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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