#0F3354#0F3354

#0F3354 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.072 H 249.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#0F3354
RGBrgb(15, 51, 84)
HSLhsl(209, 70%, 19%)
HSVhsv(209, 82%, 33%)
CMYKcmyk(82.1%, 39.3%, 0%, 67.1%)
CIE-LABlab(20.48, 0.45, -23.68)
CIE-LCHlch(20.48, 23.68, 271.09°)
OKLaboklab(31.4% -0.025 -0.0674)
OKLCHoklch(31.4% 0.072 249.7)
XYZxyz(2.9805, 3.1090, 8.8288)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3354 #54300F
analogous
#0F5453 #0F3354 #0F1054
triadic
#0F3354 #540F33 #33540F
tetradic
#0F3354 #530F54 #54300F #10540F
square
#0F3354 #530F54 #54300F #10540F
split-complementary
#0F3354 #540F10 #54530F
monochromatic
#05101A #061320 #0F3354 #185388 #2272BC

Accessibility & contrast

On white

12.95
#0F3354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0F3354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3354
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3354#FFFFFF#000000##FFFFFF
##0F33541.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243555
Deuteranopia (green-blind)
#1A2E53
Tritanopia (blue-blind)
#003B3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f3354;
/* rgb */ color: rgb(15, 51, 84);
/* oklch */ color: oklch(31.4% 0.072 249.7);
Tailwind
colors: {
  custom: {
    50: '#596a84',
    500: '#0f3354',
    950: '#000000',
  },
}
SCSS
$custom: #0f3354;
$custom-light: #596a84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3354",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 84
  },
  "hsl": {
    "h": 208.696,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31403,
    "c": 0.07187,
    "h": 249.7
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#0F3354
secondary
#8E5D31
accent
#903BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3354

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

Preview Lab → · Contrast checker → · Palette generator →

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