#0F3768#0F3768

#0F3768 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.9% C 0.096 H 255.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#0F3768
RGBrgb(15, 55, 104)
HSLhsl(213, 75%, 23%)
HSVhsv(213, 86%, 41%)
CMYKcmyk(85.6%, 47.1%, 0%, 59.2%)
CIE-LABlab(23.11, 6.21, -32.59)
CIE-LCHlch(23.11, 33.18, 280.80°)
OKLaboklab(33.88% -0.0237 -0.0935)
OKLCHoklch(33.88% 0.096 255.8)
XYZxyz(4.0610, 3.8329, 13.6198)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3768 #68400F
analogous
#0F6368 #0F3768 #140F68
triadic
#0F3768 #680F37 #37680F
tetradic
#0F3768 #680F63 #68400F #0F6814
square
#0F3768 #680F63 #68400F #0F6814
split-complementary
#0F3768 #68140F #63680F
monochromatic
#040E1B #071B33 #0F3768 #17539D #1E70D3

Accessibility & contrast

On white

11.89
#0F3768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0F3768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3768
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3768#FFFFFF#000000##FFFFFF
##0F37681.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B6A
Deuteranopia (green-blind)
#0A3367
Tritanopia (blue-blind)
#00434A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f3768;
/* rgb */ color: rgb(15, 55, 104);
/* oklch */ color: oklch(33.9% 0.096 255.8);
Tailwind
colors: {
  custom: {
    50: '#5e6d93',
    500: '#0f3768',
    950: '#000000',
  },
}
SCSS
$custom: #0f3768;
$custom-light: #5e6d93;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3768",
  "rgb": {
    "r": 15,
    "g": 55,
    "b": 104
  },
  "hsl": {
    "h": 213.034,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33882,
    "c": 0.09643,
    "h": 255.8
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#0F3768
secondary
#A16F32
accent
#9D36F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #0F3768

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

Preview Lab → · Contrast checker → · Palette generator →

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