#0F3460#0F3460

#0F3460 is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.5% C 0.088 H 255.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#0F3460
RGBrgb(15, 52, 96)
HSLhsl(213, 73%, 22%)
HSVhsv(213, 84%, 38%)
CMYKcmyk(84.4%, 45.8%, 0%, 62.4%)
CIE-LABlab(21.59, 4.90, -29.83)
CIE-LCHlch(21.59, 30.23, 279.33°)
OKLaboklab(32.52% -0.0227 -0.0854)
OKLCHoklch(32.52% 0.088 255.1)
XYZxyz(3.5355, 3.4016, 11.5343)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3460 #603B0F
analogous
#0F5D60 #0F3460 #130F60
triadic
#0F3460 #600F34 #34600F
tetradic
#0F3460 #600F5D #603B0F #0F6013
square
#0F3460 #600F5D #603B0F #0F6013
split-complementary
#0F3460 #60130F #5D600F
monochromatic
#040E1A #07172B #0F3460 #175195 #206DCA

Accessibility & contrast

On white

12.50
#0F3460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#0F3460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3460
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3460#FFFFFF#000000##FFFFFF
##0F34601.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3862
Deuteranopia (green-blind)
#0F305F
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f3460;
/* rgb */ color: rgb(15, 52, 96);
/* oklch */ color: oklch(32.5% 0.088 255.1);
Tailwind
colors: {
  custom: {
    50: '#5c6b8d',
    500: '#0f3460',
    950: '#000000',
  },
}
SCSS
$custom: #0f3460;
$custom-light: #5c6b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3460",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 96
  },
  "hsl": {
    "h": 212.593,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32522,
    "c": 0.0884,
    "h": 255.1
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#0F3460
secondary
#996A32
accent
#9C38F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F3460

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

Preview Lab → · Contrast checker → · Palette generator →

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