#0F2C61#0F2C61

#0F2C61 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.101 H 261.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#0F2C61
RGBrgb(15, 44, 97)
HSLhsl(219, 73%, 22%)
HSVhsv(219, 85%, 38%)
CMYKcmyk(84.5%, 54.6%, 0%, 62%)
CIE-LABlab(19.08, 11.16, -34.52)
CIE-LCHlch(19.08, 36.28, 287.91°)
OKLaboklab(30.62% -0.0154 -0.0994)
OKLCHoklch(30.62% 0.101 261.2)
XYZxyz(3.2546, 2.7656, 11.6692)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C61 #61440F
analogous
#0F5561 #0F2C61 #1B0F61
triadic
#0F2C61 #610F2C #2C610F
tetradic
#0F2C61 #610F55 #61440F #0F611B
square
#0F2C61 #610F55 #61440F #0F611B
split-complementary
#0F2C61 #611B0F #55610F
monochromatic
#040C1B #07142C #0F2C61 #174496 #1F5CCB

Accessibility & contrast

On white

13.52
#0F2C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2C61
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C61#FFFFFF#000000##FFFFFF
##0F2C611.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093263
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2c61;
/* rgb */ color: rgb(15, 44, 97);
/* oklch */ color: oklch(30.6% 0.101 261.2);
Tailwind
colors: {
  custom: {
    50: '#5d648e',
    500: '#0f2c61',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c61;
$custom-light: #5d648e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c61",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 97
  },
  "hsl": {
    "h": 218.78,
    "s": 73.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30615,
    "c": 0.10058,
    "h": 261.2
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#0F2C61
secondary
#9A7532
accent
#AF38F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2C61

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

Preview Lab → · Contrast checker → · Palette generator →

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