#0F305D#0F305D

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

Color values

HEX#0F305D
RGBrgb(15, 48, 93)
HSLhsl(215, 72%, 21%)
HSVhsv(215, 84%, 36%)
CMYKcmyk(83.9%, 48.4%, 0%, 63.5%)
CIE-LABlab(20.07, 6.48, -30.29)
CIE-LCHlch(20.07, 30.98, 282.08°)
OKLaboklab(31.28% -0.0196 -0.0869)
OKLCHoklch(31.28% 0.089 257.3)
XYZxyz(3.2290, 3.0054, 10.7637)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F305D #5D3C0F
analogous
#0F575D #0F305D #150F5D
triadic
#0F305D #5D0F30 #305D0F
tetradic
#0F305D #5D0F57 #5D3C0F #0F5D15
square
#0F305D #5D0F57 #5D3C0F #0F5D15
split-complementary
#0F305D #5D150F #575D0F
monochromatic
#040E1A #061528 #0F305D #174B92 #2066C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F305D#FFFFFF#000000##FFFFFF
##0F305D1.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)
#18345F
Deuteranopia (green-blind)
#072D5C
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f305d;
/* rgb */ color: rgb(15, 48, 93);
/* oklch */ color: oklch(31.3% 0.089 257.3);
Tailwind
colors: {
  custom: {
    50: '#5b678b',
    500: '#0f305d',
    950: '#000000',
  },
}
SCSS
$custom: #0f305d;
$custom-light: #5b678b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f305d",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 214.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31277,
    "c": 0.08907,
    "h": 257.3
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#0F305D
secondary
#966C31
accent
#A239EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0F305D

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

Preview Lab → · Contrast checker → · Palette generator →

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