#0F355E#0F355E

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

Color values

HEX#0F355E
RGBrgb(15, 53, 94)
HSLhsl(211, 72%, 21%)
HSVhsv(211, 84%, 37%)
CMYKcmyk(84%, 43.6%, 0%, 63.1%)
CIE-LABlab(21.78, 3.33, -28.20)
CIE-LCHlch(21.78, 28.40, 276.73°)
OKLaboklab(32.63% -0.0242 -0.0806)
OKLCHoklch(32.63% 0.084 253.3)
XYZxyz(3.4897, 3.4555, 11.0706)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F355E #5E380F
analogous
#0F5D5E #0F355E #110F5E
triadic
#0F355E #5E0F35 #355E0F
tetradic
#0F355E #5E0F5D #5E380F #0F5E11
square
#0F355E #5E0F5D #5E380F #0F5E11
split-complementary
#0F355E #5E110F #5D5E0F
monochromatic
#040F1A #071729 #0F355E #175393 #2071C8

Accessibility & contrast

On white

12.42
#0F355E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0F355E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F355E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F355E#FFFFFF#000000##FFFFFF
##0F355E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#14315D
Tritanopia (blue-blind)
#003F44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f355e;
/* rgb */ color: rgb(15, 53, 94);
/* oklch */ color: oklch(32.6% 0.084 253.3);
Tailwind
colors: {
  custom: {
    50: '#5b6b8c',
    500: '#0f355e',
    950: '#000000',
  },
}
SCSS
$custom: #0f355e;
$custom-light: #5b6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f355e",
  "rgb": {
    "r": 15,
    "g": 53,
    "b": 94
  },
  "hsl": {
    "h": 211.139,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32632,
    "c": 0.08418,
    "h": 253.3
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#0F355E
secondary
#976631
accent
#9739EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0F355E

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

Preview Lab → · Contrast checker → · Palette generator →

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