#0F334F#0F334F

#0F334F is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.065 H 245.7°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#0F334F
RGBrgb(15, 51, 79)
HSLhsl(206, 68%, 18%)
HSVhsv(206, 81%, 31%)
CMYKcmyk(81%, 35.4%, 0%, 69%)
CIE-LABlab(20.18, -1.67, -20.81)
CIE-LCHlch(20.18, 20.88, 265.42°)
OKLaboklab(31.07% -0.0266 -0.059)
OKLCHoklch(31.07% 0.065 245.7)
XYZxyz(2.7916, 3.0334, 7.8340)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F334F #4F2B0F
analogous
#0F4F4B #0F334F #0F134F
triadic
#0F334F #4F0F33 #334F0F
tetradic
#0F334F #4B0F4F #4F2B0F #134F0F
square
#0F334F #4B0F4F #4F2B0F #134F0F
split-complementary
#0F334F #4F0F13 #4F4B0F
monochromatic
#05111A #05121C #0F334F #195482 #2375B6

Accessibility & contrast

On white

13.07
#0F334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F334F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F334F#FFFFFF#000000##FFFFFF
##0F334F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263450
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f334f;
/* rgb */ color: rgb(15, 51, 79);
/* oklch */ color: oklch(31.1% 0.065 245.7);
Tailwind
colors: {
  custom: {
    50: '#586a80',
    500: '#0f334f',
    950: '#000000',
  },
}
SCSS
$custom: #0f334f;
$custom-light: #586a80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f334f",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 206.25,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31072,
    "c": 0.06474,
    "h": 245.7
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#0F334F
secondary
#895731
accent
#893DEB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F334F

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

Preview Lab → · Contrast checker → · Palette generator →

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