#0F334B#0F334B

#0F334B is a dark, muted cyan. Relative luminance 0.030; OKLCH L 30.8% C 0.059 H 241.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#0F334B
RGBrgb(15, 51, 75)
HSLhsl(204, 67%, 18%)
HSVhsv(204, 80%, 29%)
CMYKcmyk(80%, 32%, 0%, 70.6%)
CIE-LABlab(19.95, -3.34, -18.48)
CIE-LCHlch(19.95, 18.78, 259.75°)
OKLaboklab(30.82% -0.0281 -0.0522)
OKLCHoklch(30.82% 0.059 241.7)
XYZxyz(2.6503, 2.9769, 7.0902)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F334B #4B270F
analogous
#0F4B45 #0F334B #0F154B
triadic
#0F334B #4B0F33 #334B0F
tetradic
#0F334B #450F4B #4B270F #154B0F
square
#0F334B #450F4B #4B270F #154B0F
split-complementary
#0F334B #4B0F15 #4B450F
monochromatic
#05111A #05111A #0F334B #19567E #2378B1

Accessibility & contrast

On white

13.16
#0F334B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F334B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F334B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F334B#FFFFFF#000000##FFFFFF
##0F334B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28334C
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#00393B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f334b;
/* rgb */ color: rgb(15, 51, 75);
/* oklch */ color: oklch(30.8% 0.059 241.7);
Tailwind
colors: {
  custom: {
    50: '#576a7d',
    500: '#0f334b',
    950: '#000000',
  },
}
SCSS
$custom: #0f334b;
$custom-light: #576a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f334b",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 75
  },
  "hsl": {
    "h": 204,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30819,
    "c": 0.05928,
    "h": 241.7
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#0F334B
secondary
#855230
accent
#833EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0F334B

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

Preview Lab → · Contrast checker → · Palette generator →

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