#0F275D#0F275D

#0F275D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.101 H 263.4°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#0F275D
RGBrgb(15, 39, 93)
HSLhsl(222, 72%, 21%)
HSVhsv(222, 84%, 36%)
CMYKcmyk(83.9%, 58.1%, 0%, 63.5%)
CIE-LABlab(17.19, 13.13, -34.93)
CIE-LCHlch(17.19, 37.32, 290.60°)
OKLaboklab(29.08% -0.0117 -0.1007)
OKLCHoklch(29.08% 0.101 263.4)
XYZxyz(2.8976, 2.3426, 10.6533)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F275D #5D450F
analogous
#0F4E5D #0F275D #1E0F5D
triadic
#0F275D #5D0F27 #275D0F
tetradic
#0F275D #5D0F4E #5D450F #0F5D1E
square
#0F275D #5D0F4E #5D450F #0F5D1E
split-complementary
#0F275D #5D1E0F #4E5D0F
monochromatic
#040B1A #061128 #0F275D #173D92 #2053C6

Accessibility & contrast

On white

14.30
#0F275D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F275D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F275D
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F275D#FFFFFF#000000##FFFFFF
##0F275D1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f275d;
/* rgb */ color: rgb(15, 39, 93);
/* oklch */ color: oklch(29.1% 0.101 263.4);
Tailwind
colors: {
  custom: {
    50: '#5c608b',
    500: '#0f275d',
    950: '#000000',
  },
}
SCSS
$custom: #0f275d;
$custom-light: #5c608b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f275d",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 221.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29076,
    "c": 0.10141,
    "h": 263.4
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#0F275D
secondary
#967731
accent
#B739EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F275D

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

Preview Lab → · Contrast checker → · Palette generator →

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