#0F3F7D#0F3F7D

#0F3F7D is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.5% C 0.117 H 257.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#0F3F7D
RGBrgb(15, 63, 125)
HSLhsl(214, 79%, 27%)
HSVhsv(214, 88%, 49%)
CMYKcmyk(88%, 49.6%, 0%, 51%)
CIE-LABlab(27.12, 9.56, -39.52)
CIE-LCHlch(27.12, 40.66, 283.60°)
OKLaboklab(37.45% -0.0262 -0.1137)
OKLCHoklch(37.45% 0.117 257)
XYZxyz(5.6748, 5.1365, 20.0904)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3F7D #7D4D0F
analogous
#0F767D #0F3F7D #160F7D
triadic
#0F3F7D #7D0F3F #3F7D0F
tetradic
#0F3F7D #7D0F76 #7D4D0F #0F7D16
square
#0F3F7D #7D0F76 #7D4D0F #0F7D16
split-complementary
#0F3F7D #7D160F #767D0F
monochromatic
#030E1B #082346 #0F3F7D #165BB4 #2277E4

Accessibility & contrast

On white

10.36
#0F3F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0F3F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3F7D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3F7D#FFFFFF#000000##FFFFFF
##0F3F7D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f3f7d;
/* rgb */ color: rgb(15, 63, 125);
/* oklch */ color: oklch(37.5% 0.117 257.0);
Tailwind
colors: {
  custom: {
    50: '#6373a3',
    500: '#0f3f7d',
    950: '#000000',
  },
}
SCSS
$custom: #0f3f7d;
$custom-light: #6373a3;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3f7d",
  "rgb": {
    "r": 15,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 213.818,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37454,
    "c": 0.11664,
    "h": 257
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#0F3F7D
secondary
#B47C34
accent
#A033F5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #0F3F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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