#0F3059#0F3059

#0F3059 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 31.0% C 0.083 H 255.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#0F3059
RGBrgb(15, 48, 89)
HSLhsl(213, 71%, 20%)
HSVhsv(213, 83%, 35%)
CMYKcmyk(83.1%, 46.1%, 0%, 65.1%)
CIE-LABlab(19.79, 4.74, -28.09)
CIE-LCHlch(19.79, 28.49, 279.59°)
OKLaboklab(30.97% -0.0205 -0.0804)
OKLCHoklch(30.97% 0.083 255.7)
XYZxyz(3.0565, 2.9364, 9.8549)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3059 #59380F
analogous
#0F5559 #0F3059 #130F59
triadic
#0F3059 #590F30 #30590F
tetradic
#0F3059 #590F55 #59380F #0F5913
square
#0F3059 #590F55 #59380F #0F5913
split-complementary
#0F3059 #59130F #55590F
monochromatic
#040E1A #061425 #0F3059 #184C8D #2168C2

Accessibility & contrast

On white

13.23
#0F3059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F3059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3059
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3059#FFFFFF#000000##FFFFFF
##0F30591.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C335B
Deuteranopia (green-blind)
#0E2D58
Tritanopia (blue-blind)
#003A40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f3059;
/* rgb */ color: rgb(15, 48, 89);
/* oklch */ color: oklch(31.0% 0.083 255.7);
Tailwind
colors: {
  custom: {
    50: '#5a6788',
    500: '#0f3059',
    950: '#000000',
  },
}
SCSS
$custom: #0f3059;
$custom-light: #5a6788;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3059",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 89
  },
  "hsl": {
    "h": 213.243,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30972,
    "c": 0.08299,
    "h": 255.7
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#0F3059
secondary
#936731
accent
#9E3AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3059

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

Preview Lab → · Contrast checker → · Palette generator →

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