#0F304B#0F304B

#0F304B is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.062 H 246.7°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#0F304B
RGBrgb(15, 48, 75)
HSLhsl(207, 67%, 18%)
HSVhsv(207, 80%, 29%)
CMYKcmyk(80%, 36%, 0%, 70.6%)
CIE-LABlab(18.90, -1.27, -20.13)
CIE-LCHlch(18.90, 20.17, 266.40°)
OKLaboklab(29.99% -0.0246 -0.0571)
OKLCHoklch(29.99% 0.062 246.7)
XYZxyz(2.5235, 2.7232, 7.0479)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F304B #4B2A0F
analogous
#0F4B48 #0F304B #0F124B
triadic
#0F304B #4B0F30 #304B0F
tetradic
#0F304B #480F4B #4B2A0F #124B0F
square
#0F304B #480F4B #4B2A0F #124B0F
split-complementary
#0F304B #4B0F12 #4B480F
monochromatic
#05101A #05101A #0F304B #19517E #2371B1

Accessibility & contrast

On white

13.60
#0F304B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F304B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F304B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F304B#FFFFFF#000000##FFFFFF
##0F304B1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314C
Deuteranopia (green-blind)
#1B2B4A
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f304b;
/* rgb */ color: rgb(15, 48, 75);
/* oklch */ color: oklch(30.0% 0.062 246.7);
Tailwind
colors: {
  custom: {
    50: '#57687d',
    500: '#0f304b',
    950: '#000000',
  },
}
SCSS
$custom: #0f304b;
$custom-light: #57687d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f304b",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 207,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29988,
    "c": 0.06216,
    "h": 246.7
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#0F304B
secondary
#855730
accent
#8B3EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0F304B

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

Preview Lab → · Contrast checker → · Palette generator →

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