#0F3F5D#0F3F5D

#0F3F5D is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.2% C 0.072 H 241.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#0F3F5D
RGBrgb(15, 63, 93)
HSLhsl(203, 72%, 21%)
HSVhsv(203, 84%, 36%)
CMYKcmyk(83.9%, 32.3%, 0%, 63.5%)
CIE-LABlab(25.10, -3.95, -22.30)
CIE-LCHlch(25.10, 22.65, 259.95°)
OKLaboklab(35.22% -0.0347 -0.0632)
OKLCHoklch(35.22% 0.072 241.2)
XYZxyz(3.9495, 4.4464, 11.0039)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3F5D #5D2D0F
analogous
#0F5D54 #0F3F5D #0F185D
triadic
#0F3F5D #5D0F3F #3F5D0F
tetradic
#0F3F5D #540F5D #5D2D0F #185D0F
square
#0F3F5D #540F5D #5D2D0F #185D0F
split-complementary
#0F3F5D #5D0F18 #5D540F
monochromatic
#04121A #061B28 #0F3F5D #176392 #2086C6

Accessibility & contrast

On white

11.11
#0F3F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0F3F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3F5D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3F5D#FFFFFF#000000##FFFFFF
##0F3F5D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31405E
Deuteranopia (green-blind)
#26385C
Tritanopia (blue-blind)
#00464A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f3f5d;
/* rgb */ color: rgb(15, 63, 93);
/* oklch */ color: oklch(35.2% 0.072 241.2);
Tailwind
colors: {
  custom: {
    50: '#5b738b',
    500: '#0f3f5d',
    950: '#000000',
  },
}
SCSS
$custom: #0f3f5d;
$custom-light: #5b738b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3f5d",
  "rgb": {
    "r": 15,
    "g": 63,
    "b": 93
  },
  "hsl": {
    "h": 203.077,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35217,
    "c": 0.07209,
    "h": 241.2
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#0F3F5D
secondary
#965831
accent
#7F39EF
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080C
muted
#797B7D

Preview Lab

Preview with #0F3F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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