#0F304D#0F304D

#0F304D is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.1% C 0.065 H 248.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#0F304D
RGBrgb(15, 48, 77)
HSLhsl(208, 67%, 18%)
HSVhsv(208, 81%, 30%)
CMYKcmyk(80.5%, 37.7%, 0%, 69.8%)
CIE-LABlab(19.02, -0.42, -21.29)
CIE-LCHlch(19.02, 21.30, 268.87°)
OKLaboklab(30.12% -0.0239 -0.0605)
OKLCHoklch(30.12% 0.065 248.4)
XYZxyz(2.5930, 2.7510, 7.4141)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F304D #4D2C0F
analogous
#0F4D4B #0F304D #0F114D
triadic
#0F304D #4D0F30 #304D0F
tetradic
#0F304D #4B0F4D #4D2C0F #114D0F
square
#0F304D #4B0F4D #4D2C0F #114D0F
split-complementary
#0F304D #4D0F11 #4D4B0F
monochromatic
#05101A #05101A #0F304D #195080 #2370B3

Accessibility & contrast

On white

13.55
#0F304D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F304D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F304D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F304D#FFFFFF#000000##FFFFFF
##0F304D1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314E
Deuteranopia (green-blind)
#1A2C4C
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f304d;
/* rgb */ color: rgb(15, 48, 77);
/* oklch */ color: oklch(30.1% 0.065 248.4);
Tailwind
colors: {
  custom: {
    50: '#57687f',
    500: '#0f304d',
    950: '#000000',
  },
}
SCSS
$custom: #0f304d;
$custom-light: #57687f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f304d",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 208.065,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3012,
    "c": 0.06505,
    "h": 248.4
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#0F304D
secondary
#875931
accent
#8E3EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F304D

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

Preview Lab → · Contrast checker → · Palette generator →

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