#0F3A6A#0F3A6A

#0F3A6A is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.8% C 0.096 H 254.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#0F3A6A
RGBrgb(15, 58, 106)
HSLhsl(212, 75%, 24%)
HSVhsv(212, 86%, 42%)
CMYKcmyk(85.8%, 45.3%, 0%, 58.4%)
CIE-LABlab(24.22, 4.95, -32.11)
CIE-LCHlch(24.22, 32.49, 278.77°)
OKLaboklab(34.78% -0.0259 -0.092)
OKLCHoklch(34.78% 0.096 254.3)
XYZxyz(4.3106, 4.1677, 14.2101)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A6A #6A3F0F
analogous
#0F676A #0F3A6A #110F6A
triadic
#0F3A6A #6A0F3A #3A6A0F
tetradic
#0F3A6A #6A0F67 #6A3F0F #0F6A11
square
#0F3A6A #6A0F67 #6A3F0F #0F6A11
split-complementary
#0F3A6A #6A110F #676A0F
monochromatic
#040F1B #071D34 #0F3A6A #1757A0 #1E75D5

Accessibility & contrast

On white

11.45
#0F3A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0F3A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3A6A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A6A#FFFFFF#000000##FFFFFF
##0F3A6A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#103669
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f3a6a;
/* rgb */ color: rgb(15, 58, 106);
/* oklch */ color: oklch(34.8% 0.096 254.3);
Tailwind
colors: {
  custom: {
    50: '#5e6f95',
    500: '#0f3a6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a6a;
$custom-light: #5e6f95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a6a",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 106
  },
  "hsl": {
    "h": 211.648,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34785,
    "c": 0.09557,
    "h": 254.3
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#0F3A6A
secondary
#A26D32
accent
#9936F2
background
#F5F6F9
surface
#EAECF1
border
#C6C7CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #0F3A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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