#0F2668#0F2668

#0F2668 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.119 H 265.1°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#0F2668
RGBrgb(15, 38, 104)
HSLhsl(224, 75%, 23%)
HSVhsv(224, 86%, 41%)
CMYKcmyk(85.6%, 63.5%, 0%, 59.2%)
CIE-LABlab(17.86, 18.61, -41.09)
CIE-LCHlch(17.86, 45.11, 294.36°)
OKLaboklab(29.88% -0.0103 -0.1188)
OKLCHoklch(29.88% 0.119 265.1)
XYZxyz(3.3879, 2.4869, 13.3955)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2668 #68510F
analogous
#0F5268 #0F2668 #240F68
triadic
#0F2668 #680F26 #26680F
tetradic
#0F2668 #680F52 #68510F #0F6824
square
#0F2668 #680F52 #68510F #0F6824
split-complementary
#0F2668 #68240F #52680F
monochromatic
#040A1B #071233 #0F2668 #173A9D #1E4DD3

Accessibility & contrast

On white

14.02
#0F2668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F2668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2668
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2668#FFFFFF#000000##FFFFFF
##0F26681.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2668;
/* rgb */ color: rgb(15, 38, 104);
/* oklch */ color: oklch(29.9% 0.119 265.1);
Tailwind
colors: {
  custom: {
    50: '#5f5f94',
    500: '#0f2668',
    950: '#000000',
  },
}
SCSS
$custom: #0f2668;
$custom-light: #5f5f94;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2668",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 104
  },
  "hsl": {
    "h": 224.494,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29882,
    "c": 0.11928,
    "h": 265.1
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#0F2668
secondary
#A18432
accent
#C136F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2668

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

Preview Lab → · Contrast checker → · Palette generator →

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