#0F305C#0F305C

#0F305C is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.2% C 0.088 H 256.9°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#0F305C
RGBrgb(15, 48, 92)
HSLhsl(214, 72%, 21%)
HSVhsv(214, 84%, 36%)
CMYKcmyk(83.7%, 47.8%, 0%, 63.9%)
CIE-LABlab(20.00, 6.05, -29.75)
CIE-LCHlch(20.00, 30.36, 281.49°)
OKLaboklab(31.2% -0.0198 -0.0853)
OKLCHoklch(31.2% 0.088 256.9)
XYZxyz(3.1850, 2.9878, 10.5320)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F305C #5C3B0F
analogous
#0F565C #0F305C #140F5C
triadic
#0F305C #5C0F30 #305C0F
tetradic
#0F305C #5C0F56 #5C3B0F #0F5C14
square
#0F305C #5C0F56 #5C3B0F #0F5C14
split-complementary
#0F305C #5C140F #565C0F
monochromatic
#040E1A #061527 #0F305C #184B91 #2067C5

Accessibility & contrast

On white

13.14
#0F305C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F305C
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F305C#FFFFFF#000000##FFFFFF
##0F305C1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19345E
Deuteranopia (green-blind)
#092D5B
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f305c;
/* rgb */ color: rgb(15, 48, 92);
/* oklch */ color: oklch(31.2% 0.088 256.9);
Tailwind
colors: {
  custom: {
    50: '#5b678a',
    500: '#0f305c',
    950: '#000000',
  },
}
SCSS
$custom: #0f305c;
$custom-light: #5b678a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f305c",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 214.286,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.312,
    "c": 0.08755,
    "h": 256.9
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#0F305C
secondary
#956B31
accent
#A139EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0F305C

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

Preview Lab → · Contrast checker → · Palette generator →

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