#0F2968#0F2968

#0F2968 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.115 H 263.9°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#0F2968
RGBrgb(15, 41, 104)
HSLhsl(222, 75%, 23%)
HSVhsv(222, 86%, 41%)
CMYKcmyk(85.6%, 60.6%, 0%, 59.2%)
CIE-LABlab(18.74, 16.40, -39.65)
CIE-LCHlch(18.74, 42.91, 292.47°)
OKLaboklab(30.54% -0.0123 -0.1146)
OKLCHoklch(30.54% 0.115 263.9)
XYZxyz(3.4877, 2.6865, 13.4287)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2968 #684E0F
analogous
#0F5568 #0F2968 #210F68
triadic
#0F2968 #680F29 #29680F
tetradic
#0F2968 #680F55 #684E0F #0F6821
square
#0F2968 #680F55 #684E0F #0F6821
split-complementary
#0F2968 #68210F #55680F
monochromatic
#040B1B #071433 #0F2968 #173E9D #1E53D3

Accessibility & contrast

On white

13.66
#0F2968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2968
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2968#FFFFFF#000000##FFFFFF
##0F29681.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2968;
/* rgb */ color: rgb(15, 41, 104);
/* oklch */ color: oklch(30.5% 0.115 263.9);
Tailwind
colors: {
  custom: {
    50: '#5f6294',
    500: '#0f2968',
    950: '#000000',
  },
}
SCSS
$custom: #0f2968;
$custom-light: #5f6294;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2968",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 104
  },
  "hsl": {
    "h": 222.472,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30543,
    "c": 0.11522,
    "h": 263.9
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#0F2968
secondary
#A18032
accent
#BB36F1
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #0F2968

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

Preview Lab → · Contrast checker → · Palette generator →

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