#0F3A5F#0F3A5F

#0F3A5F is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.0% C 0.080 H 248.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#0F3A5F
RGBrgb(15, 58, 95)
HSLhsl(208, 73%, 22%)
HSVhsv(208, 84%, 37%)
CMYKcmyk(84.2%, 38.9%, 0%, 62.7%)
CIE-LABlab(23.52, 0.26, -26.10)
CIE-LCHlch(23.52, 26.10, 270.57°)
OKLaboklab(34.01% -0.0289 -0.0743)
OKLCHoklch(34.01% 0.08 248.8)
XYZxyz(3.7748, 3.9534, 11.3884)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A5F #5F340F
analogous
#0F5F5C #0F3A5F #0F125F
triadic
#0F3A5F #5F0F3A #3A5F0F
tetradic
#0F3A5F #5C0F5F #5F340F #125F0F
square
#0F3A5F #5C0F5F #5F340F #125F0F
split-complementary
#0F3A5F #5F0F12 #5F5C0F
monochromatic
#04101A #071A2A #0F3A5F #175A94 #207BC9

Accessibility & contrast

On white

11.73
#0F3A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3A5F
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A5F#FFFFFF#000000##FFFFFF
##0F3A5F1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#1D355E
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3a5f;
/* rgb */ color: rgb(15, 58, 95);
/* oklch */ color: oklch(34.0% 0.080 248.8);
Tailwind
colors: {
  custom: {
    50: '#5c6f8c',
    500: '#0f3a5f',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a5f;
$custom-light: #5c6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a5f",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 95
  },
  "hsl": {
    "h": 207.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34009,
    "c": 0.07975,
    "h": 248.8
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#0F3A5F
secondary
#986132
accent
#8D38EF
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #0F3A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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