#0F2568#0F2568

#0F2568 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.121 H 265.4°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#0F2568
RGBrgb(15, 37, 104)
HSLhsl(225, 75%, 23%)
HSVhsv(225, 86%, 41%)
CMYKcmyk(85.6%, 64.4%, 0%, 59.2%)
CIE-LABlab(17.57, 19.34, -41.56)
CIE-LCHlch(17.57, 45.84, 294.95°)
OKLaboklab(29.67% -0.0096 -0.1202)
OKLCHoklch(29.67% 0.121 265.4)
XYZxyz(3.3564, 2.4238, 13.3850)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2568 #68520F
analogous
#0F5168 #0F2568 #260F68
triadic
#0F2568 #680F25 #25680F
tetradic
#0F2568 #680F51 #68520F #0F6826
square
#0F2568 #680F51 #68520F #0F6826
split-complementary
#0F2568 #68260F #51680F
monochromatic
#040A1B #071233 #0F2568 #17389D #1E4BD3

Accessibility & contrast

On white

14.14
#0F2568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2568
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2568#FFFFFF#000000##FFFFFF
##0F25681.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003642
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2568;
/* rgb */ color: rgb(15, 37, 104);
/* oklch */ color: oklch(29.7% 0.121 265.4);
Tailwind
colors: {
  custom: {
    50: '#5f5f94',
    500: '#0f2568',
    950: '#000000',
  },
}
SCSS
$custom: #0f2568;
$custom-light: #5f5f94;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2568",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 104
  },
  "hsl": {
    "h": 225.169,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29666,
    "c": 0.12062,
    "h": 265.4
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#0F2568
secondary
#A18532
accent
#C336F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2568

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

Preview Lab → · Contrast checker → · Palette generator →

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