#0F3867#0F3867

#0F3867 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.1% C 0.094 H 254.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#0F3867
RGBrgb(15, 56, 103)
HSLhsl(212, 75%, 23%)
HSVhsv(212, 85%, 40%)
CMYKcmyk(85.4%, 45.6%, 0%, 59.6%)
CIE-LABlab(23.37, 5.07, -31.53)
CIE-LCHlch(23.37, 31.94, 279.14°)
OKLaboklab(34.06% -0.0248 -0.0903)
OKLCHoklch(34.06% 0.094 254.7)
XYZxyz(4.0584, 3.9087, 13.3699)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3867 #673E0F
analogous
#0F6467 #0F3867 #120F67
triadic
#0F3867 #670F38 #38670F
tetradic
#0F3867 #670F64 #673E0F #0F6712
square
#0F3867 #670F64 #673E0F #0F6712
split-complementary
#0F3867 #67120F #64670F
monochromatic
#040F1B #071B32 #0F3867 #17559C #1F72D2

Accessibility & contrast

On white

11.79
#0F3867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0F3867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3867
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3867#FFFFFF#000000##FFFFFF
##0F38671.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C69
Deuteranopia (green-blind)
#0F3466
Tritanopia (blue-blind)
#00434A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3867;
/* rgb */ color: rgb(15, 56, 103);
/* oklch */ color: oklch(34.1% 0.094 254.7);
Tailwind
colors: {
  custom: {
    50: '#5e6e93',
    500: '#0f3867',
    950: '#000000',
  },
}
SCSS
$custom: #0f3867;
$custom-light: #5e6e93;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3867",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 103
  },
  "hsl": {
    "h": 212.045,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34059,
    "c": 0.09369,
    "h": 254.7
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#0F3867
secondary
#A06D32
accent
#9A37F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #0F3867

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

Preview Lab → · Contrast checker → · Palette generator →

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