#0F4258#0F4258

#0F4258 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.7% C 0.064 H 231.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#0F4258
RGBrgb(15, 66, 88)
HSLhsl(198, 71%, 20%)
HSVhsv(198, 83%, 35%)
CMYKcmyk(83%, 25%, 0%, 65.5%)
CIE-LABlab(25.87, -7.92, -17.84)
CIE-LCHlch(25.87, 19.52, 246.06°)
OKLaboklab(35.75% -0.0398 -0.0502)
OKLCHoklch(35.75% 0.064 231.6)
XYZxyz(3.9060, 4.7021, 9.9324)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4258 #58250F
analogous
#0F5849 #0F4258 #0F1E58
triadic
#0F4258 #580F42 #42580F
tetradic
#0F4258 #490F58 #58250F #1E580F
square
#0F4258 #490F58 #58250F #1E580F
split-complementary
#0F4258 #580F1E #58490F
monochromatic
#04141A #061B24 #0F4258 #18698C #2190C1

Accessibility & contrast

On white

10.82
#0F4258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#0F4258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4258
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4258#FFFFFF#000000##FFFFFF
##0F42581.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374159
Deuteranopia (green-blind)
#2D3A58
Tritanopia (blue-blind)
#004849
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f4258;
/* rgb */ color: rgb(15, 66, 88);
/* oklch */ color: oklch(35.7% 0.064 231.6);
Tailwind
colors: {
  custom: {
    50: '#5a7687',
    500: '#0f4258',
    950: '#000000',
  },
}
SCSS
$custom: #0f4258;
$custom-light: #5a7687;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4258",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 88
  },
  "hsl": {
    "h": 198.082,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.06411,
    "h": 231.6
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#0F4258
secondary
#924E31
accent
#703AEE
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F4258

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

Preview Lab → · Contrast checker → · Palette generator →

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