#0F2B5C#0F2B5C

#0F2B5C is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.094 H 260.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#0F2B5C
RGBrgb(15, 43, 92)
HSLhsl(218, 72%, 21%)
HSVhsv(218, 84%, 36%)
CMYKcmyk(83.7%, 53.3%, 0%, 63.9%)
CIE-LABlab(18.37, 9.72, -32.36)
CIE-LCHlch(18.37, 33.78, 286.71°)
OKLaboklab(29.95% -0.0152 -0.0931)
OKLCHoklch(29.95% 0.094 260.7)
XYZxyz(2.9919, 2.6017, 10.4676)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B5C #5C400F
analogous
#0F515C #0F2B5C #190F5C
triadic
#0F2B5C #5C0F2B #2B5C0F
tetradic
#0F2B5C #5C0F51 #5C400F #0F5C19
square
#0F2B5C #5C0F51 #5C400F #0F5C19
split-complementary
#0F2B5C #5C190F #515C0F
monochromatic
#040C1A #061227 #0F2B5C #184491 #205CC5

Accessibility & contrast

On white

13.81
#0F2B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B5C
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B5C#FFFFFF#000000##FFFFFF
##0F2B5C1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2b5c;
/* rgb */ color: rgb(15, 43, 92);
/* oklch */ color: oklch(29.9% 0.094 260.7);
Tailwind
colors: {
  custom: {
    50: '#5b638a',
    500: '#0f2b5c',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b5c;
$custom-light: #5b638a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b5c",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 92
  },
  "hsl": {
    "h": 218.182,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2995,
    "c": 0.0943,
    "h": 260.7
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#0F2B5C
secondary
#957131
accent
#AD39EF
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0F2B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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