#0F305E#0F305E

#0F305E is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.4% C 0.091 H 257.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#0F305E
RGBrgb(15, 48, 94)
HSLhsl(215, 72%, 21%)
HSVhsv(215, 84%, 37%)
CMYKcmyk(84%, 48.9%, 0%, 63.1%)
CIE-LABlab(20.14, 6.92, -30.84)
CIE-LCHlch(20.14, 31.61, 282.64°)
OKLaboklab(31.36% -0.0194 -0.0885)
OKLCHoklch(31.36% 0.091 257.6)
XYZxyz(3.2736, 3.0232, 10.9985)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F305E #5E3D0F
analogous
#0F585E #0F305E #160F5E
triadic
#0F305E #5E0F30 #305E0F
tetradic
#0F305E #5E0F58 #5E3D0F #0F5E16
square
#0F305E #5E0F58 #5E3D0F #0F5E16
split-complementary
#0F305E #5E160F #585E0F
monochromatic
#040D1A #071529 #0F305E #174B93 #2066C8

Accessibility & contrast

On white

13.09
#0F305E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F305E
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F305E#FFFFFF#000000##FFFFFF
##0F305E1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183460
Deuteranopia (green-blind)
#062D5D
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f305e;
/* rgb */ color: rgb(15, 48, 94);
/* oklch */ color: oklch(31.4% 0.091 257.6);
Tailwind
colors: {
  custom: {
    50: '#5c678c',
    500: '#0f305e',
    950: '#000000',
  },
}
SCSS
$custom: #0f305e;
$custom-light: #5c678c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f305e",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 214.937,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.09059,
    "h": 257.6
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#0F305E
secondary
#976D31
accent
#A339EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0F305E

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

Preview Lab → · Contrast checker → · Palette generator →

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