#0F3C74#0F3C74

#0F3C74 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 36.0% C 0.108 H 256.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#0F3C74
RGBrgb(15, 60, 116)
HSLhsl(213, 77%, 26%)
HSVhsv(213, 87%, 45%)
CMYKcmyk(87.1%, 48.3%, 0%, 54.5%)
CIE-LABlab(25.54, 7.83, -36.37)
CIE-LCHlch(25.54, 37.20, 282.15°)
OKLaboklab(36.03% -0.0255 -0.1045)
OKLCHoklch(36.03% 0.108 256.3)
XYZxyz(4.9641, 4.5936, 17.1446)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3C74 #74470F
analogous
#0F6E74 #0F3C74 #140F74
triadic
#0F3C74 #740F3C #3C740F
tetradic
#0F3C74 #740F6E #74470F #0F7414
square
#0F3C74 #740F6E #74470F #0F7414
split-complementary
#0F3C74 #74140F #6E740F
monochromatic
#040E1B #08203E #0F3C74 #1658AA #1D74E0

Accessibility & contrast

On white

10.94
#0F3C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#0F3C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3C74
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3C74#FFFFFF#000000##FFFFFF
##0F3C741.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#033873
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f3c74;
/* rgb */ color: rgb(15, 60, 116);
/* oklch */ color: oklch(36.0% 0.108 256.3);
Tailwind
colors: {
  custom: {
    50: '#61719c',
    500: '#0f3c74',
    950: '#000000',
  },
}
SCSS
$custom: #0f3c74;
$custom-light: #61719c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3c74",
  "rgb": {
    "r": 15,
    "g": 60,
    "b": 116
  },
  "hsl": {
    "h": 213.267,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36033,
    "c": 0.10755,
    "h": 256.3
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#0F3C74
secondary
#AC7633
accent
#9E34F4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3C74

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

Preview Lab → · Contrast checker → · Palette generator →

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