#0F4D9F#0F4D9F

#0F4D9F is a dark, vivid cyan. Relative luminance 0.079; OKLCH L 43.4% C 0.146 H 257.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#0F4D9F
RGBrgb(15, 77, 159)
HSLhsl(214, 83%, 34%)
HSVhsv(214, 91%, 62%)
CMYKcmyk(90.6%, 51.6%, 0%, 37.6%)
CIE-LABlab(33.80, 14.15, -49.62)
CIE-LCHlch(33.80, 51.59, 285.92°)
OKLaboklab(43.37% -0.0307 -0.1431)
OKLCHoklch(43.37% 0.146 257.9)
XYZxyz(9.1066, 7.9113, 33.8412)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D9F #9F610F
analogous
#0F959F #0F4D9F #190F9F
triadic
#0F4D9F #9F0F4D #4D9F0F
tetradic
#0F4D9F #9F0F95 #9F610F #0F9F19
square
#0F4D9F #9F0F95 #9F610F #0F9F19
split-complementary
#0F4D9F #9F190F #959F0F
monochromatic
#04172F #0A3267 #0F4D9F #1468D7 #3C88ED

Accessibility & contrast

On white

8.13
#0F4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#0F4D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D9F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D9F#FFFFFF#000000##FFFFFF
##0F4D9F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f4d9f;
/* rgb */ color: rgb(15, 77, 159);
/* oklch */ color: oklch(43.4% 0.146 257.9);
Tailwind
colors: {
  custom: {
    50: '#6c7ebc',
    500: '#0f4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d9f;
$custom-light: #6c7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d9f",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 214.167,
    "s": 82.759,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4337,
    "c": 0.14634,
    "h": 257.9
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#0F4D9F
secondary
#CC8F3E
accent
#A22FF9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #0F4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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