#0F305B#0F305B

#0F305B is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.086 H 256.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#0F305B
RGBrgb(15, 48, 91)
HSLhsl(214, 72%, 21%)
HSVhsv(214, 84%, 36%)
CMYKcmyk(83.5%, 47.3%, 0%, 64.3%)
CIE-LABlab(19.93, 5.61, -29.20)
CIE-LCHlch(19.93, 29.73, 280.88°)
OKLaboklab(31.12% -0.0201 -0.0837)
OKLCHoklch(31.12% 0.086 256.5)
XYZxyz(3.1416, 2.9704, 10.3033)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F305B #5B3A0F
analogous
#0F565B #0F305B #140F5B
triadic
#0F305B #5B0F30 #305B0F
tetradic
#0F305B #5B0F56 #5B3A0F #0F5B14
square
#0F305B #5B0F56 #5B3A0F #0F5B14
split-complementary
#0F305B #5B140F #565B0F
monochromatic
#040E1A #061426 #0F305B #184C90 #2067C4

Accessibility & contrast

On white

13.17
#0F305B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F305B
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F305B#FFFFFF#000000##FFFFFF
##0F305B1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A345D
Deuteranopia (green-blind)
#0B2D5A
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f305b;
/* rgb */ color: rgb(15, 48, 91);
/* oklch */ color: oklch(31.1% 0.086 256.5);
Tailwind
colors: {
  custom: {
    50: '#5b678a',
    500: '#0f305b',
    950: '#000000',
  },
}
SCSS
$custom: #0f305b;
$custom-light: #5b678a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f305b",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 213.947,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31123,
    "c": 0.08603,
    "h": 256.5
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#0F305B
secondary
#956931
accent
#A039EE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F305B

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

Preview Lab → · Contrast checker → · Palette generator →

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