#0F2C5F#0F2C5F

#0F2C5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.098 H 260.8°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#0F2C5F
RGBrgb(15, 44, 95)
HSLhsl(218, 73%, 22%)
HSVhsv(218, 84%, 37%)
CMYKcmyk(84.2%, 53.7%, 0%, 62.7%)
CIE-LABlab(18.92, 10.29, -33.45)
CIE-LCHlch(18.92, 35.00, 287.09°)
OKLaboklab(30.45% -0.0156 -0.0963)
OKLCHoklch(30.45% 0.098 260.8)
XYZxyz(3.1625, 2.7288, 11.1843)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C5F #5F420F
analogous
#0F545F #0F2C5F #1A0F5F
triadic
#0F2C5F #5F0F2C #2C5F0F
tetradic
#0F2C5F #5F0F54 #5F420F #0F5F1A
square
#0F2C5F #5F0F54 #5F420F #0F5F1A
split-complementary
#0F2C5F #5F1A0F #545F0F
monochromatic
#040C1A #07142A #0F2C5F #174494 #205DC9

Accessibility & contrast

On white

13.59
#0F2C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F2C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C5F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C5F#FFFFFF#000000##FFFFFF
##0F2C5F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3261
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2c5f;
/* rgb */ color: rgb(15, 44, 95);
/* oklch */ color: oklch(30.4% 0.098 260.8);
Tailwind
colors: {
  custom: {
    50: '#5c648d',
    500: '#0f2c5f',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c5f;
$custom-light: #5c648d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c5f",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 218.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30446,
    "c": 0.09752,
    "h": 260.8
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#0F2C5F
secondary
#987332
accent
#AD38EF
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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