#0F304A#0F304A

#0F304A is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.9% C 0.061 H 245.7°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#0F304A
RGBrgb(15, 48, 74)
HSLhsl(206, 66%, 17%)
HSVhsv(206, 80%, 29%)
CMYKcmyk(79.7%, 35.1%, 0%, 71%)
CIE-LABlab(18.84, -1.69, -19.55)
CIE-LCHlch(18.84, 19.62, 265.06°)
OKLaboklab(29.92% -0.025 -0.0554)
OKLCHoklch(29.92% 0.061 245.7)
XYZxyz(2.4895, 2.7096, 6.8690)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F304A #4A290F
analogous
#0F4A47 #0F304A #0F124A
triadic
#0F304A #4A0F30 #304A0F
tetradic
#0F304A #470F4A #4A290F #124A0F
square
#0F304A #470F4A #4A290F #124A0F
split-complementary
#0F304A #4A0F12 #4A470F
monochromatic
#051119 #051119 #0F304A #19517D #2472B0

Accessibility & contrast

On white

13.62
#0F304A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F304A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F304A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F304A#FFFFFF#000000##FFFFFF
##0F304A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314B
Deuteranopia (green-blind)
#1C2B4A
Tritanopia (blue-blind)
#003639
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f304a;
/* rgb */ color: rgb(15, 48, 74);
/* oklch */ color: oklch(29.9% 0.061 245.7);
Tailwind
colors: {
  custom: {
    50: '#56687c',
    500: '#0f304a',
    950: '#000000',
  },
}
SCSS
$custom: #0f304a;
$custom-light: #56687c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f304a",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 206.441,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29923,
    "c": 0.06074,
    "h": 245.7
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#0F304A
secondary
#845530
accent
#8A3FE9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0F304A

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

Preview Lab → · Contrast checker → · Palette generator →

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