#0F3F5C#0F3F5C

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

Color values

HEX#0F3F5C
RGBrgb(15, 63, 92)
HSLhsl(203, 72%, 21%)
HSVhsv(203, 84%, 36%)
CMYKcmyk(83.7%, 31.5%, 0%, 63.9%)
CIE-LABlab(25.04, -4.36, -21.74)
CIE-LCHlch(25.04, 22.17, 258.65°)
OKLaboklab(35.16% -0.035 -0.0615)
OKLCHoklch(35.16% 0.071 240.3)
XYZxyz(3.9055, 4.4288, 10.7721)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3F5C #5C2C0F
analogous
#0F5C52 #0F3F5C #0F185C
triadic
#0F3F5C #5C0F3F #3F5C0F
tetradic
#0F3F5C #520F5C #5C2C0F #185C0F
square
#0F3F5C #520F5C #5C2C0F #185C0F
split-complementary
#0F3F5C #5C0F18 #5C520F
monochromatic
#04121A #061B27 #0F3F5C #186391 #2087C5

Accessibility & contrast

On white

11.14
#0F3F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3F5C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3F5C#FFFFFF#000000##FFFFFF
##0F3F5C1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#27385B
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f3f5c;
/* rgb */ color: rgb(15, 63, 92);
/* oklch */ color: oklch(35.2% 0.071 240.3);
Tailwind
colors: {
  custom: {
    50: '#5b738a',
    500: '#0f3f5c',
    950: '#000000',
  },
}
SCSS
$custom: #0f3f5c;
$custom-light: #5b738a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3f5c",
  "rgb": {
    "r": 15,
    "g": 63,
    "b": 92
  },
  "hsl": {
    "h": 202.597,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.35156,
    "c": 0.07082,
    "h": 240.3
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#0F3F5C
secondary
#955731
accent
#7D39EF
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F3F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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