#0F3868#0F3868

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

Color values

HEX#0F3868
RGBrgb(15, 56, 104)
HSLhsl(212, 75%, 23%)
HSVhsv(212, 86%, 41%)
CMYKcmyk(85.6%, 46.2%, 0%, 59.2%)
CIE-LABlab(23.43, 5.50, -32.07)
CIE-LCHlch(23.43, 32.54, 279.74°)
OKLaboklab(34.13% -0.0246 -0.0919)
OKLCHoklch(34.13% 0.095 255)
XYZxyz(4.1089, 3.9289, 13.6358)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3868 #683F0F
analogous
#0F6468 #0F3868 #130F68
triadic
#0F3868 #680F38 #38680F
tetradic
#0F3868 #680F64 #683F0F #0F6813
square
#0F3868 #680F64 #683F0F #0F6813
split-complementary
#0F3868 #68130F #64680F
monochromatic
#040E1B #071B33 #0F3868 #17559D #1E72D3

Accessibility & contrast

On white

11.76
#0F3868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0F3868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3868
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3868#FFFFFF#000000##FFFFFF
##0F38681.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C6A
Deuteranopia (green-blind)
#0E3467
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3868;
/* rgb */ color: rgb(15, 56, 104);
/* oklch */ color: oklch(34.1% 0.095 255.0);
Tailwind
colors: {
  custom: {
    50: '#5e6e93',
    500: '#0f3868',
    950: '#000000',
  },
}
SCSS
$custom: #0f3868;
$custom-light: #5e6e93;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3868",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 104
  },
  "hsl": {
    "h": 212.36,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34133,
    "c": 0.09515,
    "h": 255
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#0F3868
secondary
#A16E32
accent
#9B36F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #0F3868

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

Preview Lab → · Contrast checker → · Palette generator →

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