#0F2D6A#0F2D6A

#0F2D6A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.113 H 262.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#0F2D6A
RGBrgb(15, 45, 106)
HSLhsl(220, 75%, 24%)
HSVhsv(220, 86%, 42%)
CMYKcmyk(85.8%, 57.5%, 0%, 58.4%)
CIE-LABlab(20.12, 14.32, -38.72)
CIE-LCHlch(20.12, 41.28, 290.30°)
OKLaboklab(31.64% -0.0151 -0.1117)
OKLCHoklch(31.64% 0.113 262.3)
XYZxyz(3.7360, 3.0185, 14.0186)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D6A #6A4C0F
analogous
#0F5A6A #0F2D6A #1E0F6A
triadic
#0F2D6A #6A0F2D #2D6A0F
tetradic
#0F2D6A #6A0F5A #6A4C0F #0F6A1E
square
#0F2D6A #6A0F5A #6A4C0F #0F6A1E
split-complementary
#0F2D6A #6A1E0F #5A6A0F
monochromatic
#040B1B #071634 #0F2D6A #1744A0 #1E5BD5

Accessibility & contrast

On white

13.09
#0F2D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F2D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D6A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D6A#FFFFFF#000000##FFFFFF
##0F2D6A1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2d6a;
/* rgb */ color: rgb(15, 45, 106);
/* oklch */ color: oklch(31.6% 0.113 262.3);
Tailwind
colors: {
  custom: {
    50: '#5f6595',
    500: '#0f2d6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d6a;
$custom-light: #5f6595;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d6a",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 220.22,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31635,
    "c": 0.11274,
    "h": 262.3
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#0F2D6A
secondary
#A27D32
accent
#B436F2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #0F2D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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