#0F438E#0F438E

#0F438E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.136 H 258.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#0F438E
RGBrgb(15, 67, 142)
HSLhsl(215, 81%, 31%)
HSVhsv(215, 89%, 56%)
CMYKcmyk(89.4%, 52.8%, 0%, 44.3%)
CIE-LABlab(29.58, 13.95, -46.10)
CIE-LCHlch(29.58, 48.16, 286.83°)
OKLaboklab(39.74% -0.0264 -0.1329)
OKLCHoklch(39.74% 0.136 258.8)
XYZxyz(7.0848, 6.0680, 26.3838)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F438E #8E5A0F
analogous
#0F828E #0F438E #1A0F8E
triadic
#0F438E #8E0F43 #438E0F
tetradic
#0F438E #8E0F82 #8E5A0F #0F8E1A
square
#0F438E #8E0F82 #8E5A0F #0F8E1A
split-complementary
#0F438E #8E1A0F #828E0F
monochromatic
#030F1F #092957 #0F438E #155DC5 #2E7BE9

Accessibility & contrast

On white

9.49
#0F438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F438E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F438E#FFFFFF#000000##FFFFFF
##0F438E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f438e;
/* rgb */ color: rgb(15, 67, 142);
/* oklch */ color: oklch(39.7% 0.136 258.8);
Tailwind
colors: {
  custom: {
    50: '#6876b0',
    500: '#0f438e',
    950: '#000000',
  },
}
SCSS
$custom: #0f438e;
$custom-light: #6876b0;
$custom-dark: #000000;
JSON
{
  "hex": "#0f438e",
  "rgb": {
    "r": 15,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 215.433,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39743,
    "c": 0.13554,
    "h": 258.8
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#0F438E
secondary
#C38936
accent
#A631F7
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #0F438E

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

Preview Lab → · Contrast checker → · Palette generator →

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