#0F345A#0F345A

#0F345A is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 32.1% C 0.079 H 252.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#0F345A
RGBrgb(15, 52, 90)
HSLhsl(210, 71%, 21%)
HSVhsv(210, 83%, 35%)
CMYKcmyk(83.3%, 42.2%, 0%, 64.7%)
CIE-LABlab(21.19, 2.32, -26.52)
CIE-LCHlch(21.19, 26.62, 274.99°)
OKLaboklab(32.09% -0.0243 -0.0757)
OKLCHoklch(32.09% 0.079 252.2)
XYZxyz(3.2698, 3.2953, 10.1346)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F345A #5A350F
analogous
#0F595A #0F345A #0F0F5A
triadic
#0F345A #5A0F34 #345A0F
tetradic
#0F345A #5A0F59 #5A350F #0F5A0F
square
#0F345A #5A0F59 #5A350F #0F5A0F
split-complementary
#0F345A #5A0F0F #595A0F
monochromatic
#040F1A #061626 #0F345A #18528E #2071C3

Accessibility & contrast

On white

12.66
#0F345A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0F345A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F345A
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F345A#FFFFFF#000000##FFFFFF
##0F345A1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375C
Deuteranopia (green-blind)
#163059
Tritanopia (blue-blind)
#003D42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f345a;
/* rgb */ color: rgb(15, 52, 90);
/* oklch */ color: oklch(32.1% 0.079 252.2);
Tailwind
colors: {
  custom: {
    50: '#5a6b89',
    500: '#0f345a',
    950: '#000000',
  },
}
SCSS
$custom: #0f345a;
$custom-light: #5a6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f345a",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 210.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32085,
    "c": 0.07949,
    "h": 252.2
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#0F345A
secondary
#946331
accent
#953AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F345A

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

Preview Lab → · Contrast checker → · Palette generator →

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