#0F4058#0F4058

#0F4058 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.2% C 0.065 H 234.8°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#0F4058
RGBrgb(15, 64, 88)
HSLhsl(200, 71%, 20%)
HSVhsv(200, 83%, 35%)
CMYKcmyk(83%, 27.3%, 0%, 65.5%)
CIE-LABlab(25.18, -6.65, -18.92)
CIE-LCHlch(25.18, 20.06, 250.65°)
OKLaboklab(35.19% -0.0377 -0.0534)
OKLCHoklch(35.19% 0.065 234.8)
XYZxyz(3.7911, 4.4725, 9.8941)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4058 #58270F
analogous
#0F584B #0F4058 #0F1B58
triadic
#0F4058 #580F40 #40580F
tetradic
#0F4058 #4B0F58 #58270F #1B580F
square
#0F4058 #4B0F58 #58270F #1B580F
split-complementary
#0F4058 #580F1B #584B0F
monochromatic
#04131A #061A24 #0F4058 #18668C #218CC1

Accessibility & contrast

On white

11.08
#0F4058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0F4058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4058
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4058#FFFFFF#000000##FFFFFF
##0F40581.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344059
Deuteranopia (green-blind)
#2A3958
Tritanopia (blue-blind)
#004648
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f4058;
/* rgb */ color: rgb(15, 64, 88);
/* oklch */ color: oklch(35.2% 0.065 234.8);
Tailwind
colors: {
  custom: {
    50: '#5a7487',
    500: '#0f4058',
    950: '#000000',
  },
}
SCSS
$custom: #0f4058;
$custom-light: #5a7487;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4058",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 88
  },
  "hsl": {
    "h": 199.726,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.35194,
    "c": 0.06531,
    "h": 234.8
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#0F4058
secondary
#925131
accent
#753AEE
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F4058

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

Preview Lab → · Contrast checker → · Palette generator →

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