#0F3056#0F3056

#0F3056 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.078 H 254.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#0F3056
RGBrgb(15, 48, 86)
HSLhsl(212, 70%, 20%)
HSVhsv(212, 83%, 34%)
CMYKcmyk(82.6%, 44.2%, 0%, 66.3%)
CIE-LABlab(19.59, 3.44, -26.42)
CIE-LCHlch(19.59, 26.65, 277.43°)
OKLaboklab(30.75% -0.0213 -0.0755)
OKLCHoklch(30.75% 0.078 254.3)
XYZxyz(2.9330, 2.8870, 9.2050)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3056 #56350F
analogous
#0F5356 #0F3056 #120F56
triadic
#0F3056 #560F30 #30560F
tetradic
#0F3056 #560F53 #56350F #0F5612
square
#0F3056 #560F53 #56350F #0F5612
split-complementary
#0F3056 #56120F #53560F
monochromatic
#050F1A #061322 #0F3056 #184D8A #216ABE

Accessibility & contrast

On white

13.31
#0F3056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0F3056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3056
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3056#FFFFFF#000000##FFFFFF
##0F30561.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3358
Deuteranopia (green-blind)
#122C55
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f3056;
/* rgb */ color: rgb(15, 48, 86);
/* oklch */ color: oklch(30.7% 0.078 254.3);
Tailwind
colors: {
  custom: {
    50: '#596786',
    500: '#0f3056',
    950: '#000000',
  },
}
SCSS
$custom: #0f3056;
$custom-light: #596786;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3056",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 86
  },
  "hsl": {
    "h": 212.113,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30749,
    "c": 0.07844,
    "h": 254.3
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#0F3056
secondary
#906431
accent
#9A3BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3056

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

Preview Lab → · Contrast checker → · Palette generator →

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