#0F3255#0F3255

#0F3255 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.2% C 0.074 H 251.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#0F3255
RGBrgb(15, 50, 85)
HSLhsl(210, 70%, 20%)
HSVhsv(210, 82%, 33%)
CMYKcmyk(82.4%, 41.2%, 0%, 66.7%)
CIE-LABlab(20.20, 1.58, -24.78)
CIE-LCHlch(20.20, 24.84, 273.66°)
OKLaboklab(31.21% -0.0236 -0.0706)
OKLCHoklch(31.21% 0.075 251.5)
XYZxyz(2.9767, 3.0383, 9.0221)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3255 #55320F
analogous
#0F5555 #0F3255 #0F0F55
triadic
#0F3255 #550F32 #32550F
tetradic
#0F3255 #550F55 #55320F #0F550F
square
#0F3255 #550F55 #55320F #0F550F
split-complementary
#0F3255 #550F0F #55550F
monochromatic
#050F1A #061321 #0F3255 #185189 #216FBD

Accessibility & contrast

On white

13.06
#0F3255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F3255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3255
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3255#FFFFFF#000000##FFFFFF
##0F32551.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223456
Deuteranopia (green-blind)
#172E54
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f3255;
/* rgb */ color: rgb(15, 50, 85);
/* oklch */ color: oklch(31.2% 0.074 251.5);
Tailwind
colors: {
  custom: {
    50: '#596985',
    500: '#0f3255',
    950: '#000000',
  },
}
SCSS
$custom: #0f3255;
$custom-light: #596985;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3255",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 210,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31205,
    "c": 0.0745,
    "h": 251.5
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#0F3255
secondary
#8F6031
accent
#943BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3255

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

Preview Lab → · Contrast checker → · Palette generator →

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