#0F5276#0F5276

#0F5276 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.087 H 238.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#0F5276
RGBrgb(15, 82, 118)
HSLhsl(201, 77%, 26%)
HSVhsv(201, 87%, 46%)
CMYKcmyk(87.3%, 30.5%, 0%, 53.7%)
CIE-LABlab(32.80, -6.03, -26.10)
CIE-LCHlch(32.80, 26.79, 256.98°)
OKLaboklab(41.76% -0.045 -0.074)
OKLCHoklch(41.76% 0.087 238.7)
XYZxyz(6.4830, 7.4433, 18.2310)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5276 #76330F
analogous
#0F7666 #0F5276 #0F1E76
triadic
#0F5276 #760F52 #52760F
tetradic
#0F5276 #660F76 #76330F #1E760F
square
#0F5276 #660F76 #76330F #1E760F
split-complementary
#0F5276 #760F1E #76660F
monochromatic
#03131B #082C40 #0F5276 #1678AC #1D9DE2

Accessibility & contrast

On white

8.44
#0F5276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#0F5276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5276
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5276#FFFFFF#000000##FFFFFF
##0F52761.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415278
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5276;
/* rgb */ color: rgb(15, 82, 118);
/* oklch */ color: oklch(41.8% 0.087 238.7);
Tailwind
colors: {
  custom: {
    50: '#62829d',
    500: '#0f5276',
    950: '#000000',
  },
}
SCSS
$custom: #0f5276;
$custom-light: #62829d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5276",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 118
  },
  "hsl": {
    "h": 200.971,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.08657,
    "h": 238.7
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#0F5276
secondary
#AD5E33
accent
#7734F4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #0F5276

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

Preview Lab → · Contrast checker → · Palette generator →

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