#0F3C72#0F3C72

#0F3C72 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.9% C 0.105 H 255.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#0F3C72
RGBrgb(15, 60, 114)
HSLhsl(213, 77%, 25%)
HSVhsv(213, 87%, 45%)
CMYKcmyk(86.8%, 47.4%, 0%, 55.3%)
CIE-LABlab(25.40, 6.97, -35.32)
CIE-LCHlch(25.40, 36.00, 281.17°)
OKLaboklab(35.88% -0.0259 -0.1014)
OKLCHoklch(35.88% 0.105 255.7)
XYZxyz(4.8490, 4.5476, 16.5385)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3C72 #72450F
analogous
#0F6D72 #0F3C72 #130F72
triadic
#0F3C72 #720F3C #3C720F
tetradic
#0F3C72 #720F6D #72450F #0F7213
square
#0F3C72 #720F6D #72450F #0F7213
split-complementary
#0F3C72 #72130F #6D720F
monochromatic
#040E1B #08203C #0F3C72 #1658A8 #1D75DE

Accessibility & contrast

On white

11.00
#0F3C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0F3C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3C72
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3C72#FFFFFF#000000##FFFFFF
##0F3C721.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#083871
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f3c72;
/* rgb */ color: rgb(15, 60, 114);
/* oklch */ color: oklch(35.9% 0.105 255.7);
Tailwind
colors: {
  custom: {
    50: '#61719b',
    500: '#0f3c72',
    950: '#000000',
  },
}
SCSS
$custom: #0f3c72;
$custom-light: #61719b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3c72",
  "rgb": {
    "r": 15,
    "g": 60,
    "b": 114
  },
  "hsl": {
    "h": 212.727,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35881,
    "c": 0.10465,
    "h": 255.7
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#0F3C72
secondary
#AA7433
accent
#9D35F3
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3C72

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

Preview Lab → · Contrast checker → · Palette generator →

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