#0F2B5E#0F2B5E

#0F2B5E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.097 H 261.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#0F2B5E
RGBrgb(15, 43, 94)
HSLhsl(219, 72%, 21%)
HSVhsv(219, 84%, 37%)
CMYKcmyk(84%, 54.3%, 0%, 63.1%)
CIE-LABlab(18.53, 10.59, -33.43)
CIE-LCHlch(18.53, 35.07, 287.58°)
OKLaboklab(30.12% -0.0149 -0.0962)
OKLCHoklch(30.12% 0.097 261.2)
XYZxyz(3.0805, 2.6371, 10.9342)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B5E #5E420F
analogous
#0F535E #0F2B5E #1B0F5E
triadic
#0F2B5E #5E0F2B #2B5E0F
tetradic
#0F2B5E #5E0F53 #5E420F #0F5E1B
square
#0F2B5E #5E0F53 #5E420F #0F5E1B
split-complementary
#0F2B5E #5E1B0F #535E0F
monochromatic
#040C1A #071329 #0F2B5E #174393 #205BC8

Accessibility & contrast

On white

13.75
#0F2B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B5E
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B5E#FFFFFF#000000##FFFFFF
##0F2B5E1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3160
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2b5e;
/* rgb */ color: rgb(15, 43, 94);
/* oklch */ color: oklch(30.1% 0.097 261.2);
Tailwind
colors: {
  custom: {
    50: '#5c638c',
    500: '#0f2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b5e;
$custom-light: #5c638c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b5e",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 218.734,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30119,
    "c": 0.09737,
    "h": 261.2
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#0F2B5E
secondary
#977331
accent
#AE39EF
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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