#0F334D#0F334D

#0F334D is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 30.9% C 0.062 H 243.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#0F334D
RGBrgb(15, 51, 77)
HSLhsl(205, 67%, 18%)
HSVhsv(205, 81%, 30%)
CMYKcmyk(80.5%, 33.8%, 0%, 69.8%)
CIE-LABlab(20.06, -2.51, -19.65)
CIE-LCHlch(20.06, 19.81, 262.73°)
OKLaboklab(30.94% -0.0273 -0.0556)
OKLCHoklch(30.94% 0.062 243.8)
XYZxyz(2.7199, 3.0047, 7.4564)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F334D #4D290F
analogous
#0F4D48 #0F334D #0F144D
triadic
#0F334D #4D0F33 #334D0F
tetradic
#0F334D #480F4D #4D290F #144D0F
square
#0F334D #480F4D #4D290F #144D0F
split-complementary
#0F334D #4D0F14 #4D480F
monochromatic
#05111A #05111A #0F334D #195580 #2377B3

Accessibility & contrast

On white

13.12
#0F334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F334D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F334D#FFFFFF#000000##FFFFFF
##0F334D1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344E
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#00393C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f334d;
/* rgb */ color: rgb(15, 51, 77);
/* oklch */ color: oklch(30.9% 0.062 243.8);
Tailwind
colors: {
  custom: {
    50: '#576a7f',
    500: '#0f334d',
    950: '#000000',
  },
}
SCSS
$custom: #0f334d;
$custom-light: #576a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f334d",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 205.161,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30944,
    "c": 0.06198,
    "h": 243.8
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#0F334D
secondary
#875531
accent
#863EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F334D

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

Preview Lab → · Contrast checker → · Palette generator →

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