#0F2B5F#0F2B5F

#0F2B5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.099 H 261.4°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#0F2B5F
RGBrgb(15, 43, 95)
HSLhsl(219, 73%, 22%)
HSVhsv(219, 84%, 37%)
CMYKcmyk(84.2%, 54.7%, 0%, 62.7%)
CIE-LABlab(18.61, 11.03, -33.96)
CIE-LCHlch(18.61, 35.71, 287.98°)
OKLaboklab(30.2% -0.0148 -0.0978)
OKLCHoklch(30.2% 0.099 261.4)
XYZxyz(3.1257, 2.6552, 11.1720)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B5F #5F430F
analogous
#0F535F #0F2B5F #1B0F5F
triadic
#0F2B5F #5F0F2B #2B5F0F
tetradic
#0F2B5F #5F0F53 #5F430F #0F5F1B
square
#0F2B5F #5F0F53 #5F430F #0F5F1B
split-complementary
#0F2B5F #5F1B0F #535F0F
monochromatic
#040C1A #07132A #0F2B5F #174394 #205BC9

Accessibility & contrast

On white

13.71
#0F2B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2B5F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B5F#FFFFFF#000000##FFFFFF
##0F2B5F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093161
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2b5f;
/* rgb */ color: rgb(15, 43, 95);
/* oklch */ color: oklch(30.2% 0.099 261.4);
Tailwind
colors: {
  custom: {
    50: '#5c638d',
    500: '#0f2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b5f;
$custom-light: #5c638d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b5f",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 219,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30204,
    "c": 0.0989,
    "h": 261.4
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#0F2B5F
secondary
#987432
accent
#AF38EF
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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