#0F304C#0F304C

#0F304C is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.1% C 0.064 H 247.6°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#0F304C
RGBrgb(15, 48, 76)
HSLhsl(208, 67%, 18%)
HSVhsv(208, 80%, 30%)
CMYKcmyk(80.3%, 36.8%, 0%, 70.2%)
CIE-LABlab(18.96, -0.84, -20.71)
CIE-LCHlch(18.96, 20.73, 267.67°)
OKLaboklab(30.05% -0.0243 -0.0588)
OKLCHoklch(30.05% 0.064 247.6)
XYZxyz(2.5580, 2.7370, 7.2296)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F304C #4C2B0F
analogous
#0F4C49 #0F304C #0F114C
triadic
#0F304C #4C0F30 #304C0F
tetradic
#0F304C #490F4C #4C2B0F #114C0F
square
#0F304C #490F4C #4C2B0F #114C0F
split-complementary
#0F304C #4C0F11 #4C490F
monochromatic
#05101A #05101A #0F304C #19507F #2371B2

Accessibility & contrast

On white

13.57
#0F304C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F304C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F304C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F304C#FFFFFF#000000##FFFFFF
##0F304C1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314D
Deuteranopia (green-blind)
#1B2B4B
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f304c;
/* rgb */ color: rgb(15, 48, 76);
/* oklch */ color: oklch(30.1% 0.064 247.6);
Tailwind
colors: {
  custom: {
    50: '#57687e',
    500: '#0f304c',
    950: '#000000',
  },
}
SCSS
$custom: #0f304c;
$custom-light: #57687e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f304c",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 207.541,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30054,
    "c": 0.06359,
    "h": 247.6
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#0F304C
secondary
#865831
accent
#8D3EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0F304C

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

Preview Lab → · Contrast checker → · Palette generator →

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