#0F3971#0F3971

#0F3971 is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 35.1% C 0.107 H 257.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#0F3971
RGBrgb(15, 57, 113)
HSLhsl(214, 77%, 25%)
HSVhsv(214, 87%, 44%)
CMYKcmyk(86.7%, 49.6%, 0%, 55.7%)
CIE-LABlab(24.38, 8.66, -36.33)
CIE-LCHlch(24.38, 37.35, 283.42°)
OKLaboklab(35.07% -0.0236 -0.1044)
OKLCHoklch(35.07% 0.107 257.3)
XYZxyz(4.6397, 4.2195, 16.1895)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3971 #71470F
analogous
#0F6A71 #0F3971 #160F71
triadic
#0F3971 #710F39 #39710F
tetradic
#0F3971 #710F6A #71470F #0F7116
square
#0F3971 #710F6A #71470F #0F7116
split-complementary
#0F3971 #71160F #6A710F
monochromatic
#040E1B #081E3B #0F3971 #1654A7 #1D70DD

Accessibility & contrast

On white

11.39
#0F3971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#0F3971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3971
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3971#FFFFFF#000000##FFFFFF
##0F39711.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f3971;
/* rgb */ color: rgb(15, 57, 113);
/* oklch */ color: oklch(35.1% 0.107 257.3);
Tailwind
colors: {
  custom: {
    50: '#606e9a',
    500: '#0f3971',
    950: '#000000',
  },
}
SCSS
$custom: #0f3971;
$custom-light: #606e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3971",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 214.286,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3507,
    "c": 0.10705,
    "h": 257.3
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#0F3971
secondary
#A97633
accent
#A235F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3971

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

Preview Lab → · Contrast checker → · Palette generator →

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