#0F4868#0F4868

#0F4868 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.3% C 0.078 H 239.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#0F4868
RGBrgb(15, 72, 104)
HSLhsl(202, 75%, 23%)
HSVhsv(202, 86%, 41%)
CMYKcmyk(85.6%, 30.8%, 0%, 59.2%)
CIE-LABlab(28.73, -5.32, -23.67)
CIE-LCHlch(28.73, 24.26, 257.33°)
OKLaboklab(38.3% -0.04 -0.067)
OKLCHoklch(38.3% 0.078 239.1)
XYZxyz(5.0121, 5.7351, 13.9369)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4868 #682F0F
analogous
#0F685B #0F4868 #0F1B68
triadic
#0F4868 #680F48 #48680F
tetradic
#0F4868 #5B0F68 #682F0F #1B680F
square
#0F4868 #5B0F68 #682F0F #1B680F
split-complementary
#0F4868 #680F1B #685B0F
monochromatic
#04131B #072333 #0F4868 #176D9D #1E92D3

Accessibility & contrast

On white

9.78
#0F4868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0F4868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4868
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4868#FFFFFF#000000##FFFFFF
##0F48681.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394869
Deuteranopia (green-blind)
#2D4067
Tritanopia (blue-blind)
#005053
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4868;
/* rgb */ color: rgb(15, 72, 104);
/* oklch */ color: oklch(38.3% 0.078 239.1);
Tailwind
colors: {
  custom: {
    50: '#5e7a93',
    500: '#0f4868',
    950: '#000000',
  },
}
SCSS
$custom: #0f4868;
$custom-light: #5e7a93;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4868",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 104
  },
  "hsl": {
    "h": 201.573,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.07807,
    "h": 239.1
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#0F4868
secondary
#A15A32
accent
#7A36F1
background
#F5F7F9
surface
#EAEDF1
border
#C6C8CB
text
#05090D
muted
#797B7E

Preview Lab

Preview with #0F4868

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

Preview Lab → · Contrast checker → · Palette generator →

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