#0F386A#0F386A

#0F386A is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.3% C 0.098 H 255.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#0F386A
RGBrgb(15, 56, 106)
HSLhsl(213, 75%, 24%)
HSVhsv(213, 86%, 42%)
CMYKcmyk(85.8%, 47.2%, 0%, 58.4%)
CIE-LABlab(23.57, 6.36, -33.14)
CIE-LCHlch(23.57, 33.75, 280.87°)
OKLaboklab(34.28% -0.0241 -0.0951)
OKLCHoklch(34.28% 0.098 255.8)
XYZxyz(4.2117, 3.9700, 14.1772)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F386A #6A410F
analogous
#0F656A #0F386A #130F6A
triadic
#0F386A #6A0F38 #386A0F
tetradic
#0F386A #6A0F65 #6A410F #0F6A13
square
#0F386A #6A0F65 #6A410F #0F6A13
split-complementary
#0F386A #6A130F #656A0F
monochromatic
#040E1B #071C34 #0F386A #1754A0 #1E71D5

Accessibility & contrast

On white

11.70
#0F386A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F386A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F386A#FFFFFF#000000##FFFFFF
##0F386A1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6C
Deuteranopia (green-blind)
#0A3469
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f386a;
/* rgb */ color: rgb(15, 56, 106);
/* oklch */ color: oklch(34.3% 0.098 255.8);
Tailwind
colors: {
  custom: {
    50: '#5f6e95',
    500: '#0f386a',
    950: '#000000',
  },
}
SCSS
$custom: #0f386a;
$custom-light: #5f6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f386a",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 212.967,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34283,
    "c": 0.09809,
    "h": 255.8
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#0F386A
secondary
#A27032
accent
#9D36F2
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #0F386A

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

Preview Lab → · Contrast checker → · Palette generator →

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