#0F3852#0F3852

#0F3852 is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.6% C 0.064 H 241.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#0F3852
RGBrgb(15, 56, 82)
HSLhsl(203, 69%, 19%)
HSVhsv(203, 82%, 32%)
CMYKcmyk(81.7%, 31.7%, 0%, 67.8%)
CIE-LABlab(22.08, -3.83, -19.81)
CIE-LCHlch(22.08, 20.18, 259.07°)
OKLaboklab(32.63% -0.0311 -0.056)
OKLCHoklch(32.63% 0.064 241)
XYZxyz(3.1336, 3.5387, 8.4989)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3852 #52290F
analogous
#0F524B #0F3852 #0F1752
triadic
#0F3852 #520F38 #38520F
tetradic
#0F3852 #4B0F52 #52290F #17520F
square
#0F3852 #4B0F52 #52290F #17520F
split-complementary
#0F3852 #520F17 #524B0F
monochromatic
#05121A #06151E #0F3852 #185B86 #227FB9

Accessibility & contrast

On white

12.30
#0F3852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0F3852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3852
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3852#FFFFFF#000000##FFFFFF
##0F38521.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#233252
Tritanopia (blue-blind)
#003E41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f3852;
/* rgb */ color: rgb(15, 56, 82);
/* oklch */ color: oklch(32.6% 0.064 241.0);
Tailwind
colors: {
  custom: {
    50: '#596e82',
    500: '#0f3852',
    950: '#000000',
  },
}
SCSS
$custom: #0f3852;
$custom-light: #596e82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3852",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 203.284,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.32634,
    "c": 0.06409,
    "h": 241
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#0F3852
secondary
#8C5431
accent
#803CEC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0F3852

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

Preview Lab → · Contrast checker → · Palette generator →

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