#0F305A#0F305A

#0F305A is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.085 H 256.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#0F305A
RGBrgb(15, 48, 90)
HSLhsl(214, 71%, 21%)
HSVhsv(214, 83%, 35%)
CMYKcmyk(83.3%, 46.7%, 0%, 64.7%)
CIE-LABlab(19.86, 5.18, -28.65)
CIE-LCHlch(19.86, 29.11, 280.24°)
OKLaboklab(31.05% -0.0203 -0.082)
OKLCHoklch(31.05% 0.085 256.1)
XYZxyz(3.0987, 2.9533, 10.0776)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F305A #5A390F
analogous
#0F555A #0F305A #130F5A
triadic
#0F305A #5A0F30 #305A0F
tetradic
#0F305A #5A0F55 #5A390F #0F5A13
square
#0F305A #5A0F55 #5A390F #0F5A13
split-complementary
#0F305A #5A130F #555A0F
monochromatic
#040E1A #061426 #0F305A #184C8E #2068C3

Accessibility & contrast

On white

13.20
#0F305A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F305A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F305A#FFFFFF#000000##FFFFFF
##0F305A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f305a;
/* rgb */ color: rgb(15, 48, 90);
/* oklch */ color: oklch(31.0% 0.085 256.1);
Tailwind
colors: {
  custom: {
    50: '#5a6789',
    500: '#0f305a',
    950: '#000000',
  },
}
SCSS
$custom: #0f305a;
$custom-light: #5a6789;
$custom-dark: #000000;
JSON
{
  "hex": "#0f305a",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 213.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31047,
    "c": 0.08451,
    "h": 256.1
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#0F305A
secondary
#946831
accent
#9F3AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F305A

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

Preview Lab → · Contrast checker → · Palette generator →

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